Answer the question
In order to leave comments, you need to log in
Why doesn't 301 redirect work in .htaccess?
301 redirect not working in .htaccess.
You need to make an exception for one page without an ssl certificate. Redirect https page to http .
This code does not work, and does not redirect anywhere at all. What could be the reason? Are there other options?
RewriteCond %{HTTPS} on
RewriteCond %{REQUEST_URI} ^/9010-2/veb-kamery
RewriteRule (.*) https://site/9010-2/veb-kamery%{REQUEST_URI} [R=301,L]
Answer the question
In order to leave comments, you need to log in
Will I screen for you?
RewriteRule ^9010\-2/veb\-kamery$ /9010\-2/veb\-kamery/9010\-2/veb\-kamery? [L,R=301]
RewriteCond %{REQUEST_URI} ^/dir1/(.*)$
RewriteRule ^(.*)$ /dir2/%1 [R=301,L]
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question