Answer the question
In order to leave comments, you need to log in
How to redirect from a page without the get parameter to the same page, but with the htaccess parameter?
I can’t find a working option on the Internet. For example, you need to direct
c tohttp://site.ru/page.php
http://site.ru/page.php?param
Answer the question
In order to leave comments, you need to log in
RewriteCond %{QUERY_STRING} !(^|&)(.+)($|&)
RewriteRule ^page\.php$ /page.php\?param [L,R=301]
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question