Bulk 301 redirect for custom post type


I’ve amended the URLs for my custom post type from:

url.com/jobs/job-name to url.com/jobs/job-location/job-name

Problem is, because this isn’t a standard rewrite wordpress doesn’t do the 301 redirecting for you.

Does anyone know how I could do a 301 redirect for all custom posts to the new URL bearing in mind that job-location would be different depending on the post?


Michael 4 weeks 0 Answers 3 views 0

Leave an answer