mirror of
https://github.com/fmap/muflax65ngodyewp.onion
synced 2024-07-01 10:46:49 +02:00
use explicit 301 redirect
This commit is contained in:
parent
beaaf1fa26
commit
4f5c5c6548
|
@ -13,7 +13,7 @@ RewriteEngine on
|
||||||
RewriteRule ^feed/? /rss.xml
|
RewriteRule ^feed/? /rss.xml
|
||||||
|
|
||||||
# redirect old wordpress links
|
# redirect old wordpress links
|
||||||
<% @site.slug_items.each do |item| %>RewriteRule ^<%= item[:slug].chop %> <%= item.identifier%>
|
<% @site.slug_items.each do |item| %>RewriteRule ^<%= item[:slug].chop %> <%= item.identifier%> [R=301]
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
# serve gzipped files if available
|
# serve gzipped files if available
|
||||||
|
|
Loading…
Reference in a new issue