Redirecting posts with a prefix but not an url containing only the prefix
-
Hi,
I try to redirect all posts with an url containing a prefix “webzine” plus their postname to an url containing only their postname. Example :
https://www.myurl.com/webzine/my-great-postname/ > https://www.myurl.com/my-great-postname/
I succeeded to do that using regex /webzine(.*)
But It also redirect the exact url https://www.myurl.com/webzine/ to https://www.myurl.com/ and I don’t want that. How can I achieve this?
I am aware that it must only be a problem of regex and not a problem of plugin, but if someone know how to do with this awesome plugin, it will be great!
Cedric
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Redirecting posts with a prefix but not an url containing only the prefix’ is closed to new replies.