-
Hi, I am removing my custom post types and switching to categories for my blog posts. I need to redirect the old slug to the new one. I tried the regex recommendation in the guide:
Regex source url destination
/articles-how-to/(.*) /how-to/$1And this doesn’t work. I tried a few other ways, like removing the (.*) and $1 and setting it to ‘contains’ but it doesn’t seem to work. I don’t have a caching plugin.
My other redirections work (mostly auto).I am doing this so that the places I have linked to the articles are redirected to the correct article. The name of the post won’t change; it will just be the category slug. As the AI bot suggested, I tried but could not find the option to add a category in the plugin.
Do you have any suggestions?
You must be logged in to reply to this ticket.