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'm asked to set up a WordPress-based site, which is not intended to run as blog mainly but anyway we want to use the common article area sometimes. Now my client resents that the URL to an article or archive includes "/category/". He wants to make use of tags but categories are redundant since he only wants to have an area called "news" which holds all stuff written as common articles. So my question is: Can I set my theme to simply make URLs like this: "example.com/news/an-article-about-something"?

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

By default, the URL to an article does not include "category". Only URLs to category archives do, so it sounds like something has already been re-configured.

Anyway, to get the string you want, go to wp-admin->Settings->Permalinks and set the permalink structure to "/news/%postname%/". That will put the blog posts at "/news/"

If you also want the blog index at "/news/", create a page named "news" then go to wp-admin->Settings->Reading, click "static page" and set the "posts page" to "news". You will need to set the static front page to some other page or you will get a blog index there too-- same thing in both places.

The same "Permalinks" settings page will let you change the "category" and "tag" strings, which show upin category and tag archive URLs. Look down at the bottom.

share|improve this answer
    
Wow you helped me out really quickly! That's solving it. Thank you very much! –  Circuit Circus Dec 6 '12 at 16:26
add comment

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.