Answer the question
In order to leave comments, you need to log in
How to keep # character in htaccess redirect?
Please help me to make a correct redirect from one domain to another, keeping the # character in the end.
htaccess looks like this:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^old-site\.ru$ [NC]
RewriteRule ^(.*)$ http://new-site.ru/#/cat/news/$1 [R=301,L]
http://new-site.ru/%23/cat/news/
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