Answer the question
In order to leave comments, you need to log in
How to remove a redirect?
Good afternoon. The essence of the problem is this:
The site has a single entry point, it was necessary to make sure that one page would bypass the single entry point and load via a direct link. .htaccess was edited for this :
AddDefaultCharset utf-8
RewriteEngine on
RewriteCond %{REQUEST_URI} !^/hronology/
RewriteCond %{REQUEST_URI} !^/plan-marshala/
Redirect 301 /hronology/ /plan-marshalla/index.html
RewriteRule ^(.*) /public/ $1
AddDefaultCharset utf-8
RewriteEngine on
#RewriteCond %{REQUEST_URI} !^/hronology/
#RewriteCond %{REQUEST_URI} !^/plan-marshala/
#Redirect 301 /hronology/ /plan-marshalla/index.html
RewriteRule ^(.*) /public/$1
Answer the question
In order to leave comments, you need to log in
Your browser remembered the redirect (301 is permanent), clear the cache and everything should work as expected.
I understand that there are some problems in OpenServer. On LAMP - everything is clear, everything works correctly, on OpenServer the problem remains ... Any suggestions what to do with OpenServer so that everything works correctly?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question