Answer the question
In order to leave comments, you need to log in
How to solve the problem with .htaccess?
Hello!
I met with the following problem.
There is a site on Bitrix.
Today I noticed the problem of switching to the site from the Viber messenger
domen.ru/%20/?utm_source=Viber&utm_medium=Chat&utm... It gives
a
404 error.
Please help me create a rule in the htaccess redirect to domen.ru
Answer the question
In order to leave comments, you need to log in
So everything is true what kind of directory is this with a space name
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/\s/
RewriteRule (.*) /
The redirect worked, I tried a similar entry, but the redirect happened many times and as a result the browser gave an error. And the remaining %20/?utm_source=Viber&utm_medium=Chat&utm_campaign=Private in the address bar can somehow be removed?
and there is no directory with space name ..
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question