SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Enthusiast
    Join Date
    Feb 2004
    Location
    Third Stone From The Sun
    Posts
    82
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    permalink query string

    Is it better to use a path than a query string? If so, why?

    1) http://www.example.com/2007/05/21
    2) http://www.example.com/?date=2007/05/21
    My outdated site is down for a while now.

  2. #2
    . shoooo... silver trophy logic_earth's Avatar
    Join Date
    Oct 2005
    Location
    CA
    Posts
    9,013
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    User Friendly. Not an accessible feature but a usability one. Also SEs will love it
    Logic without the fatal effects.
    All code snippets are licensed under WTFPL.


  3. #3
    SitePoint Addict GonzaloGM's Avatar
    Join Date
    May 2007
    Location
    Rosario, Argentina
    Posts
    213
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You should probably use a string and not a date (for example if it's an article, you should use article title like http://www.example.com/how-to-create-permalinks.html).

  4. #4
    In memoriam gold trophysilver trophybronze trophy Dan Schulz's Avatar
    Join Date
    May 2006
    Location
    Aurora, Illinois
    Posts
    15,476
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I agree. Use the former, rather than the latter. It's not so much to benefit the accessibility but rather the usability of the Web site. Just keep in mind that if you're writing a blog that's updated on a regular basis, that you may want to go with a date format if you're organizing it by days. If you're writing articles (using it as a publishing platform or traditional CMS), then the string format may (most likely) be the way to go.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •