How Important Are Descriptive URLs?

Discussion in 'Search Engine Optimization' started by jooles, Jun 10, 2007.

  1. #1
    I'm putting together a big content site currently and of course am hand coding the PHP an MySQL stuff.

    I was wondering which is better for article URLs:

    view.php?id=26

    or

    view.php?title=how_to_build_widgets

    I'm finding the latter case a lot of trouble to code in and am tempted to going back to the first option, but I don't want to make this SEO sacrafice if it really is that important. Also, grabbing content by the title can be unreliable (a title edit could discount previous links to the article) to I considered doing a id and title URL method:

    view.php?id=26&title=how_to_build_widgets

    Any suggestions to make this work the best?

    Thanks!
     
    jooles, Jun 10, 2007 IP
  2. wildstone

    wildstone Peon

    Messages:
    1,040
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    0
    #2
    i will suggest >> view.php?title=how_to_build_widgets
     
    wildstone, Jun 10, 2007 IP
  3. trichnosis

    trichnosis Prominent Member

    Messages:
    13,785
    Likes Received:
    333
    Best Answers:
    0
    Trophy Points:
    300
    #3
    shortest and human readable urls allways rock. view.php?title=how_to_build_widgets is better than the others
     
    trichnosis, Jun 10, 2007 IP
  4. ninjamuk

    ninjamuk Peon

    Messages:
    305
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I agree. It's easier for users AND works better for search engines in many cases. If it were my site, I'd invest the time to code it... or in my case, pay someone to code it :)
     
    ninjamuk, Jun 10, 2007 IP
  5. perdog05

    perdog05 Peon

    Messages:
    28
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I avoided dealing with this issue and simply used ?id=1, etc. and ultimately regretted it. Once my site was up and working with the ?id=1, I couldn't bring myself to go back and mess around with changes.

    With my newest site, I finally got around to doing it right. I'd highly recommend learning about 'mod rewrite' to make even better URLs than the ones you mentioned. You could get rid of the "view.php?title=" completely.

    Took me about 2 hours today today get it working right, which wasn't too bad at all. Shouldn't have waited as long as I did...
     
    perdog05, Jun 10, 2007 IP
  6. sweetfunny

    sweetfunny Banned

    Messages:
    5,743
    Likes Received:
    467
    Best Answers:
    0
    Trophy Points:
    0
    #6
    If you are going to rewrite your URL's, instead of:

    /view.php?title=how_to_build_widgets

    Why don't you use:

    /how-to-build-widgets.html
     
    sweetfunny, Jun 11, 2007 IP
  7. Himalayan

    Himalayan Well-Known Member

    Messages:
    420
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    108
    #7
    If possible, do not use ID session. Creat it like /how-to-build-widgets.html this is easy in indexing.
     
    Himalayan, Jun 11, 2007 IP
  8. jl255

    jl255 Well-Known Member

    Messages:
    2,762
    Likes Received:
    211
    Best Answers:
    0
    Trophy Points:
    185
    #8
    think u raise a good question, which I also have not thought about..... i know that there are various tools used by various scripts like phpld, vbulletin, etc. to rewrite the URL supposedly for better SEO, although it is not entirely clear how it improves SEO.

    I suspect it has to do with keyword improvement, pretty much like how your domain affects your targeted keyword significantly

    anyone care to shed more light or confirm this?
     
    jl255, Jun 11, 2007 IP
  9. mad4

    mad4 Peon

    Messages:
    6,986
    Likes Received:
    493
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Seeing beautiful url's is one thing that really makes a website stand out. I HATE session id's and other confusing parameters in url's.

    Go for /how-to-build-widgets.html or //how-to-build-widgets.php

    Use dashes (-) rather than underscores (_) :)
     
    mad4, Jun 11, 2007 IP
  10. jooles

    jooles Peon

    Messages:
    61
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #10
    Hyphens instead of underscores? Is there any verifiable data that confirms this?

    I've been wondering this myself.

    Also, can't I do an article grab with both the ID and Title in the URL in case the Title is edited?
     
    jooles, Jun 11, 2007 IP
  11. mad4

    mad4 Peon

    Messages:
    6,986
    Likes Received:
    493
    Best Answers:
    0
    Trophy Points:
    0
    #11
    Matt Cutts once said hyphens are better.

    You might want to add another parameter to the database so you can have a different url and title and edit them independently.
     
    mad4, Jun 11, 2007 IP
  12. KC TAN

    KC TAN Well-Known Member

    Messages:
    4,792
    Likes Received:
    353
    Best Answers:
    0
    Trophy Points:
    155
    #12
    KC TAN, Jun 11, 2007 IP
  13. toinkzzz

    toinkzzz Banned

    Messages:
    314
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #13
    hyphens i believe is considered a space...
     
    toinkzzz, Jun 11, 2007 IP