Answer the question
In order to leave comments, you need to log in
How to cut "?" via htaccess?
Good day!
There is a simple question, but something does not work to solve it.
This is the url http://mysite.ru/index.php/topic?122.0.html
Should I just replace it? in it on , http://mysite.ru/index.php/topic,122.0.html
In theory, a simple rule should work, but it does not. RewriteRule ^(.*)\?(.*)$ /$1,$2
As soon as screened - does not help. Tried the same with replacing with "\%3F"
I'm testing on htaccess.madewithlove.be
Tell me
, plz, how to replace it?
Answer the question
In order to leave comments, you need to log in
I think RewriteCond %{REQUEST_URI} will help here, it seems like you can't get to "?"
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question