Forums

[resolved] How to remove the word 'category' from url? (3 posts)

  1. gr1zzly
    Member
    Posted 1 year ago #

    I have category based navigation in a horizontal drop-down menu, with the menu headers being the parent category and the drop-down's links as sub-categories or posts.

    When I click on a drop-down link the url is, for example 'information/company-history', which is great. However when I click on the parent menu header the url is 'category/information' with the literal word category in the url.

    I realise that this is probably so that wordpress can determine which template file to use, but can't this be done from the query string params, and the actual word 'category' re-written out of the url?

    Any help please?

  2. Dave Redfern
    Member
    Posted 1 year ago #

    I think the main reason for this is to stop the confusion and clashes with posts, pages and categories in URLs.

    I have never used it but this plugin seems to do what you want - http://www.fortes.com/projects/wordpress/top-level-cats.

    Good luck,

    Dave.

  3. gr1zzly
    Member
    Posted 1 year ago #

    Hey thanks dave that's exactly what I needed! Cheers!!

Topic Closed

This topic has been closed to new replies.

About this Topic