Support » Plugin: Redirection » Custom post types regular expressions

  • Resolved Esteban88


    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 to

    I made it with this: /videos/(.*) to$1

    But the problem is that I have a category with the same name “videos” then the url 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.