WordPress.org

Ready to get started?Download WordPress

Forums

How to stop the trailing slash disappearing on category listings (1 post)

  1. f00bar
    Member
    Posted 4 years ago #

    Hi everyone,

    As I understand it, WordPress will automatically remove trailing slashes from the URLs so, for example, if I write example.com/mycategory/ it will actually convert to example.com/mycategory.

    Currently my permalink structure is set to /%category%/%postname%.html which is what I need for each post but when I want to list posts in a category, I really need to trailing slash to remain in the URL, and my mod_rewrite skills are lacking (especially with WordPress's setup).

    If anyone can point me in the right direction, I would appreciate it.

    Thanks
    Michael

Topic Closed

This topic has been closed to new replies.

About this Topic