Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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

1 Answer 1

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

 
discard

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.