• bang

    (@bang)


    Is there a way to get rid of the trailing slash on permalinks?
    my permalinks show up as “site.com/post-name/” and I need them to show up as “site.com/post-name”.

    My permalink structure is “/%postname%”

    Any ideas?
    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Mark Jaquith

    (@markjaquith)

    Yes, make it:

    /%postname%/

    But beware… this structure means that you cannot choose the same post-slug twice… it needs to be unique.

    lawtai

    (@lawtai)

    I don’t think you can get rid of that trailing slash cause permalinks turns things into virtual folders. It doesn’t make a difference as to which link you type in to get to that page though.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Trailing slash on permalinks?’ is closed to new replies.