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 using WordPress as a Content Management System.

I currently have a few different Custom Post Types: featured, species, answers, forums and glossary.

These are all bespoke and wouldn't work with the default Posts functionality.

However, I've also got three separate types of Post which require the same functionality but are displayed on three separate areas of the website: news, articles, blogs.

My question is this: should I just use categories to display these posts, or should I create Custom Post Types for them?.

At the moment I'm using categories, but it's causing a couple of issues:

  • As default a blog, an article or a news post all have the same URL format: website.com/post_slug
  • I'd prefer it to be website.com/news/post_slug, website.com/blog/post_slug etc.

...

  • I'd like to be able to use a URL structure such as website.com/blog/author/name or website.com/author/name/blogs to view only that author's blog-type posts.

Thanks in advance,

share|improve this question
add comment

1 Answer 1

I think keeping News, Blog, and Article all as post categories is a good idea.

To achieve domain.com/news/bob-smith/bobs-news-post set your Permalinks to be /%category%/%author%/%postname%/.

share|improve this answer
    
Wouldn't that mean, by default, my URLs would include the author name? I'm not really interested in that - I want the URLs to be website.com/blogs/post_slug but I also want the author to have their own URL (website.com/author/blogs/name) displaying all of their posts for that category. –  dunc Oct 23 '12 at 13:50
    
You're asking a lot for the built-in functionality. You will probably have to actually learn rewrite .htaccess script to achieve what you want. –  Eric Holmes Oct 23 '12 at 17:49
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.