Answer the question
In order to leave comments, you need to log in
301 redirect via .htaccess doesn't redirect?
Colleagues, I wrote dozens of lines in .htaccess with 404-pages of the form ("404" space "working"):
Redirect 301 /catalog/asp/osnovnyie-svedeniya.html /catalog/asp/osnovnyie-svedeniya/
Redirect 301 /catalog/ateks/products/korpusa/ /catalog/atelex-exd/produkcziya/
...
Answer the question
In order to leave comments, you need to log in
Redirect 301 /catalog/asp/osnovnyie-svedeniya.html http://site.ru/catalog/asp/osnovnyie-svedeniya/
maybe so?
Look at the webserver settings and the error log.
And you can rewrite like
RewriteEngine On
RewriteRule ^old.html$ /new-location/ [END,R=301]
Obviously, if the redirect doesn't work, then htaccess doesn't work. There is no error, otherwise it would be 500 error.
Therefore, requests are processed on the ngnix server, and not apache. Write in tp, so that apache handles requests, and ngnix - so that they stupidly cut it for proxies.
UPD:
yes, and check out my blog. I want views in the metric))) #this is not advertising)))
dropcogs.pro
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question