Hi, great plugin. I have a problem, I made a redirection 301 because I deleted two custom post types, I want to remove the urls that contain the words “audios” and “videos” example miweb.com/video/post-name to miweb.com/post-name
I made it with this: /videos/(.*) to miweb.com/$1
But the problem is that I have a category with the same name “videos” then the url miweb.com/videos redirects to the main page of the site
How to make redirect only the posts of the CPT and not the page of archives of the category?
- The topic ‘Custom post types regular expressions’ is closed to new replies.