1

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?

2

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?

| 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 clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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