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?

1 Answer 1

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?

3
  • 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, 2011 at 21:14
  • Did you "flush" your permalinks? Just goto your permalinks settings, and press save. Oct 12, 2011 at 6:31
  • Thank you. I was writing it incorrectly - wordpress.stackexchange.com/questions/30857/…
    – fxfuture
    Oct 12, 2011 at 6:50

Your Answer

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

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