There is a link of the form
domain.ru/news/1234/?ads=1 need to redirect to:
domain.ru/ads If you use a rule
RewriteRule ^news/([0-9]+)/?ads=([0-9]+)$ /ads [R=301,L] that doesn't work, but if you replace the mark ? on any other character, everything is ok. Help solve the problem. Tried to screen
RewriteRule ^news/([0-9]+)/\?ads=([0-9]+)$ /ads [R=301,L] replace
RewriteRule ^news/([0-9]+)/(.)ads=([0-9]+)$ /ads [R=301,L] nothing works.
curl -I -L domain.ru/news/1234/?ads=1and look at the output. - KoVadim