Answer the question
In order to leave comments, you need to log in
301 .htaccess - how to make single page exception?
Good afternoon. There is a design for a 301 redirect from the WWW domain to a domain without:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www\.site\.ru$ [NC]
RewriteRule ^(.*)$ http://site.ru/$1 [R=301,L]
Answer the question
In order to leave comments, you need to log in
Try after RewriteEngine add something like thisRewriteCond %{REQUEST_URI} !^/result\.php$
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question