WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
up vote 2 down vote accepted

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?

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

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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