WordPress.org

Ready to get started?Download WordPress

Forums

characters in urls and lsug (8 posts)

  1. davidswain
    Member
    Posted 5 years ago #

    Hello

    I am looking to build a site in wordpress but in my experiments i only seem to be able to have alpa numberic characters in urls. i would also like to use characater such as *

    Is there a way to configure wordpress to do this?

  2. iridiax
    Member
    Posted 5 years ago #

    The allowed and reserved characters in URLs are a web-wide thing, not just an issue with WordPress.

  3. davidswain
    Member
    Posted 5 years ago #

    Well i have sen urls with characters like * in

  4. davidswain
    Member
    Posted 5 years ago #

    Im not being clear.

    I would like to have urls like:

    http://www.example.com/tag/shopping-and-f***ing/

  5. iridiax
    Member
    Posted 5 years ago #

    Asterisks are reserved characters for URLs (they have a special function), and thus WordPress correctly does not allow users to manually add them to URLs. You can instead use custom post slugs that include ---, xxx, or the actual word letters in place of the asterisks.

    For more info on characters in URLs and a table of reserved characters, see:

    http://en.wikipedia.org/wiki/Percent-encoding

  6. iridiax
    Member
    Posted 5 years ago #

    Also, note how this forum's software (which is not WordPress) broke your above URL at the asterisks.

  7. davidswain
    Member
    Posted 5 years ago #

    Iridiax i see *sound of penny dropping*

    thank you ever so much for your help, i'll have a rethink.

  8. mhjw
    Member
    Posted 5 years ago #

    As an additional question: How can I use, in my link list, URLs with special characters (which are legal), such as süddeutsche.de, for example. Right now, WP is stripping them out.

Topic Closed

This topic has been closed to new replies.

About this Topic