I've pretty much finished building a site based around a theme that uses a custom post type called portfolio.

Now, having just switched my permalinks to a custom structure, posts of that type display as www.mywebsite.com/portfolio/postname

I want it to be called 'projects' instead of portfolio so it displays www.mywebsite.com/projects/postname

Changing the name throughout the site take forever as it's referenced on numerous occasions in the various php files.

Is there an easy way to change this without manually replacing?

1 Answer 1


I might not have understood your questions fully, but can't you just change the rewrite slug for your custom post type to /projects instead of /portfolio?

  • Thanks this seems exactly what I want. However I've changed it to 'rewrite' => 'projects', and it hasn't updated it. Any ideas?
    – fxfuture
    Commented Oct 10, 2011 at 21:14
  • Did you "flush" your permalinks? Just goto your permalinks settings, and press save. Commented Oct 12, 2011 at 6:31
  • Thank you. I was writing it incorrectly - wordpress.stackexchange.com/questions/30857/…
    – fxfuture
    Commented Oct 12, 2011 at 6:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.