Articles Tagged with “Url-design”
31/05/2007: URLs in demiblog
URL design is important. For this reason I’ve put a lot of thought into the URLs used by demiblog.
demiblog has a PHP object SiteURLSpace that maps between URLs and data queries. This means that demiblog’s URLs don’t necessarily have to bear much resemblence to its code structure. It’s also pretty easy to completely replace the object, and thus restructure demiblog’s URL space. (Except for a few cases like feeds and enclosures.)
Front Page
Firstly, demiblog can be installed anywhere on your server. If your domain name is example.com, then you could theoretically give demiblog URLs like any of these:
- http://example.com/
- http://www.example.com/
- http://example.com/demiblog/
- http://example.com/anything/you/like/
This makes it easy to have demiblog power your whole site, or just a part of it.
Now let’s look at some of the URLs within demiblog…
Tags
demiblog articles may be tagged. This is a loose form of…