0

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"?

1 Answer 1

1

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.

1
  • Wow you helped me out really quickly! That's solving it. Thank you very much! Commented Dec 6, 2012 at 16:26

Your Answer

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

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