WordPress.org

Ready to get started?Download WordPress

Forums

Custom permalink error (4 posts)

  1. ETMSOFT
    Member
    Posted 6 years ago #

    Hi,
    I'm using this permalink structure:

    /%category%/%postname%/

    but when I try to use something like this:

    /%category%[-static-text]/%postname%/

    Changing [-static-text] with a constant word. I doesn't work,

    Why ?
    Regards...

  2. kgagne
    Member
    Posted 6 years ago #

    In what way does it not work? Does WordPress generate an error? Do your permalinks become dysfunctional? Is static text not working? Could you give some examples of the permalink structures you're trying?

  3. ETMSOFT
    Member
    Posted 6 years ago #

    Is a blog about lyrics, my current permalink is like this:

    /%category%/%postname%/

    where category = artist/band
    postname = song

    I would like to have the following:

    /%category%-lyrics/%postname%/

    '-lyrics' is the static text. As a postfix in %postname% works, but i want it as a postfix in %category%

    The error is 404 Page not found.
    Regards

  4. kgagne
    Member
    Posted 6 years ago #

    OK, thanks for the further details.

    I just tried this on my blog, and it works fine, actually...

Topic Closed

This topic has been closed to new replies.

About this Topic