Redirect page with regex ?
-
Hi
I would like to redirect :
XXX/page1 (note there is no slash at the end)
to
https://www.site.com/XXX/page2
so i did :
redirect with regex :
^/(.*)/page1
to
is that correct ?
i wonder if i should have added a $ at the end of redirected page :
^/(.*)/page1$ (so that only this page is redirected), is that necessary ?
Also i specified for this redirect :
Regex : YES
Ignore slash : NO
Ignore case : YES
but my redirect doesnt work, or it works sometimes and sometimes it doesnt, weird, i tried to remove the 1h cache in option and set “no cache”
thank you for your help
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Redirect page with regex ?’ is closed to new replies.