Wordpress url's

Discussion in 'PHP' started by Tom12361, Apr 25, 2009.

  1. #1
    Hi, I want to ask, why when I have in the url
    "/(
    Code (markup):
    or other symbols except
    -
    Code (markup):
    my url doesn't work. Do you know where is the problem?
     
    Tom12361, Apr 25, 2009 IP
  2. MeetHere

    MeetHere Prominent Member

    Messages:
    15,399
    Likes Received:
    994
    Best Answers:
    0
    Trophy Points:
    330
    #2
    what do you mean ?
    only - is allowed in url
     
    MeetHere, Apr 25, 2009 IP
  3. Tom12361

    Tom12361 Active Member

    Messages:
    442
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    58
    #3
    I want to have also urls like:
    http://mysite.com/lala-"Napoleonas"
    Why can't I?
     
    Tom12361, Apr 25, 2009 IP
  4. pipes

    pipes Prominent Member

    Messages:
    12,766
    Likes Received:
    958
    Best Answers:
    0
    Trophy Points:
    360
    #4
    You cant do that, ive never seen that and dont understand why anyone would do if they could.
     
    pipes, Apr 25, 2009 IP
  5. Tom12361

    Tom12361 Active Member

    Messages:
    442
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    58
    #5
    Tom12361, Apr 25, 2009 IP
  6. pipes

    pipes Prominent Member

    Messages:
    12,766
    Likes Received:
    958
    Best Answers:
    0
    Trophy Points:
    360
    #6
    pipes, Apr 25, 2009 IP
  7. MeetHere

    MeetHere Prominent Member

    Messages:
    15,399
    Likes Received:
    994
    Best Answers:
    0
    Trophy Points:
    330
    #7
    only - allowed

    , is usually seen in forum
     
    MeetHere, Apr 25, 2009 IP
  8. PoPSiCLe

    PoPSiCLe Illustrious Member

    Messages:
    4,623
    Likes Received:
    725
    Best Answers:
    152
    Trophy Points:
    470
    #8
    I recommend you follow the URL-recommendations - that means only A-Z, 0-9 and -_ allowed in urls (given, you can also use & and ? and simliar, but those have meaning other than just the character). You can also use spaces, although it's not really recommended, as it often breakes the copying of the url. If you need spaces, encode them as %20
     
    PoPSiCLe, Apr 25, 2009 IP
  9. Tom12361

    Tom12361 Active Member

    Messages:
    442
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    58
    #9
    I try to make only - symbols, but sometimes it goes wrong and I get links with /() and other symbols so I need to make it working, someone knows how to make it?
     
    Tom12361, Apr 25, 2009 IP