Difference between revisions for Routing Test





Next edit →

Additions:
https://wackowiki.org/test/xml/sitemap.xml
%%
RewriteEngine On

# Redirect www to non-www, preserving the full path and query string
RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]
RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
%%