.htaccess redirects and changing category links (2 posts)

  1. croakingtoad
    Posted 10 years ago #

    I want to change the links in the category section on the sidebar and remove the /category so instead of this-


    I would have this-


    Similar to how the pages are handled. Is this possible without messing up the pages and if it is possible, what would I need to put in my .htaccess to handle the 301 redirect from the old url to the new?


  2. Is this possible without messing up the pages

    Not really, no. The problem is that with that scheme, you don't have any easy way to define which ones are pages and which are categories. It could be done, but you'd have to heavily rewrite the WP-Rewrite class to do it.

Topic Closed

This topic has been closed to new replies.

About this Topic