Why doesn't the 301 redirect?

Why redirect not working?

RewriteRule ^details.php?id=([A-Za-z0-9_]+) /catalog/details/view/id/$1 [R=301,L]


Should be redirect details.php?id=(ID here) and you can redirect to /catalog/details/view/id/(ID here)

Wrote a redirect. But for some reason not working. Why?
July 9th 19 at 12:51
1 answer
July 9th 19 at 12:53
? Need to escape?
that is? make a slash in front ? - Fiona.Daniel74 commented on July 9th 19 at 12:56
Yes. - mercedes commented on July 9th 19 at 12:59
Checked is not working. - Fiona.Daniel74 commented on July 9th 19 at 13:02
not working... - Fiona.Daniel74 commented on July 9th 19 at 13:05
Is it working or not? - mercedes commented on July 9th 19 at 13:08
: closed( - Fiona.Daniel74 commented on July 9th 19 at 13:11
You try on simple example, then add, I have nothing to protest, erunova error most likely - mercedes commented on July 9th 19 at 13:14
I tried... all options which only came into my head - nothing happened - Fiona.Daniel74 commented on July 9th 19 at 13:17
Start with details.php in the query can be a lot simbol at the end, or no parameters to go in a different order - mercedes commented on July 9th 19 at 13:20

Find more questions by tags Programming