Answer the question
In order to leave comments, you need to log in
Why are GET parameters added on 301 redirects?
Site dip24.ru Spin on vps where Nginx + apache - all scripts are self-written. In .htaccess I added the following lines:
RewriteEngine on
Options +FollowSymLinks
RewriteCond %{HTTP_HOST} ^www.site\.com$ [NC]
RewriteRule ^(.*)$ site.com/$1 [R=301,L]
RewriteCond % {REQUEST_FILENAME} !^favicon\.ico
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
Redirect 301 /kursovye-na-zakaz.html /kursovye-na-zakaz/
-------- -------------------------------------------------- ------------
Here, on the last line, I go to the address
dip24.ru/kursovye-na-zakaz.html
I am thrown to
dip24.ru/kursovye-na-zakaz/?module=static-page&ali. ..
And I need to go to dip24.ru/kursovye-na-zakaz
Tell me where I made a mistake, please.
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