Answer the question
In order to leave comments, you need to log in
Why is 301 redirect truncated via .htaccess?
I put a test site on a local server and will face the problem of 301 redirects through .htacess
There I need to make a 301 redirect from several pages and I don’t understand what the hell is going on.
For example, I write:
Redirect 301 /site_ac/services/proektirovanie/ /site_ac/product/napravleniya /sistemnaya-integratsiya/integration/
And in the end, when I click on the link, I open /site_ac/product/napravleniya /sistemnaya-integratsiya/ , i.e. /inregration/
is cut off somewhere else I
don’t understand what this is connected with. Because site on the server and it does not have an external URL, then I just write through the / directory.
And the most interesting thing is that everything else literally worked, and when I added a few more lines, the URL began to be cut everywhere. It turns out he can work, but why he stops and did not understand.
And how does the time to change edits through .htaccess work? Sometimes clearing cookies does not seem to help, but after a while everything is ok. So in incognito mode .. is it some kind of server settings?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question