Domain flipping by Millionaire Society

Want To Learn More About Flipping Domains For Profit: Read My Post On Domain Flipping!

WordPress Top Level Categories Throw 404 Error For Sub Categories

Posted on May 19th, 2010 by admin in Domain Development, Domain News | 4 Comments »

I have been developing a new website using my now stock CMS – WordPress – and I ran into a particular problem I thought I might share in case someone else runs into something similar.

In order to make my urls more silo-like (ie. less WordPress-like with each part of the human readable url representing a proper page entity) I wanted to get rid of the “/category/” part from all my category and sub category urls.

For example, with the expired domains category here on DNXpert, by default, the url would be http://www.dnxpert.com/category/expired-domains – meaning the expired-domains part is deeper inside the url structure than I want it.

To solve this issue, and make my expired domains category url as follows: http://www.dnxpert.com/expired-domains (note it’s without the /category/ part) I used the Top Level Categories plugin from fortes.com only to find that whenever any sub categories are clicked on, a 404 page is shown.

It appears it’s an intrinsic bug with the way the WordPress core handles sub-category urls and the only way to solve this is to do a lot of coding for the Top Level Categories above or to actually use another plugin (WP No Category Base created by wordpresssupplies.com) instead.

With this new plugin the sub-category 404 issue is gone and all my urls are silo-ed!

Want To Learn More About Flipping Domains For Profit: Read My Post On Domain Flipping!

4 Responses to WordPress Top Level Categories Throw 404 Error For Sub Categories

  1. Nameclerk says:

    Does the solution require both plugins or are you only using the WP No Category Base plugin now?

  2. admin says:

    @NameClerk, just the second plugin. I have edited the post to include the word “instead” which should clear things up.

    Thanks.

    John

  3. Pingback: How To Show Subcategories In Permalink | Domain names, news and opinions

  4. very helpful info, 10x buddy :)

Leave a Reply

Your email address will not be published. Required fields are marked *

*

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Explore other similar posts that might interest you

Click on a post title to read the post!