URI design

    Date: 07/14/05 (Web Development)    Keywords: php

    Hello, once more.

    I'm writting this more in a inquisitive mode. I'm designing my URIs for my site, and i was just wondering what was your take on this subject. Bear in mind that this is for a blog... archive and stuff.

    A few start-up points.

    • Why use http://host/post/1 instead of the usual http://host/file.php?page=post.php+id=1?
      to be search-engines-friendly, and it looks normal for "the common folk", it looks tidier ;) and plus, enables you to change the way your site works without breaking your links... are there more reasons?

    • The usage of id's or a slug for posts?
      what's best? With id's you win in length, but you loose in quick identification of the post.. points for and against?

    • When an archive, use date, for instance: http://host/2005/07/03/slug
      you automatically sort your posts under year and month.. but is it really necessary to include the day?

    • what else? i'd like to hear your views...


    Sorry if this has been discussed already.. if so, let me know and i'll remove this.

    Thanks in advance. :)

    Read more about this...
    Good IRIs (URI design) [annevankesteren.nl]

    Source: http://www.livejournal.com/community/webdev/219923.html

« CSS help plz || Commissioning sites at a... »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home