Custom post types regular expressions
-
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?
Thank you
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Custom post types regular expressions’ is closed to new replies.