Deciding URL Structure
If you noticed some slight weirdness with graphicpush.com last week, it’s because I moved the site to my Dreamhost account. While I adored Fatcow for their stellar customer support and incredible spam filter, their system was simply too tightly wound — I could not run TXP the way I wanted because .htaccess was locked down.
The rewrite rule in the .htacess file is what allows Textpattern (and other software) to create pretty URLs out of messy stuff like index.php?id=233. Dreamhost, unlike Fatcow, supports rewriting extensions, so for the first time in years, graphicpush will benefit from clean, semantic URLs.
Which brings up an interesting conundrum — what kind of URL to have. Changing the structure is simple in TXP, so I’ve been messing around with different options.
www.site.com/section/article-title
This is the traditional structure I use in all non-blog sites. 99% of the time, it makes sense for corporate environments — sites are split into big sections (about, services, contact, etc.) and a URL like www.hyperglobalmegacorp.com/about/company-history makes perfect sense.
But graphicpush doesn’t work like that. The articles don’t fall within semantic sections because they are all lumped under one general “articles” section name. There are a bunch of smaller sections across the site (contact, advertising, icons, archive, etc.) where having the clean directory structure is preferred (e.g., graphicpush.com/icons/), but not for the main content.
www.site.com/2005/10/31/article-title
This technique seems common in blogs, especially the Wordpress and MT crowd. While the faux directory structure makes general sense on an organizational level, and gives the casual browser an idea of when the article was published, it just seems like noise. Year/month/day seems redundant, especially when I publish the date right below the title of all my entries.
www.site.com/article-title
Believe it or not, this is what I am going with for the time being. Since all of the articles are only one level off the homepage, the directory structure makes sense. My site has one giant section: the content. Why obfuscate that?
I’m looking for arguments either way. I truly understand the appeal of the date structure, but it seems too “bloggy” to me. The third option seems better. The best, obviously, would be www.site.com/category/article-title, but that has yet to be supported in TXP.
Comments.
Shane
- wrote the following on Monday June 19, 2006
Kevin
- wrote the following on Monday June 19, 2006
Kevin
- wrote the following on Monday June 19, 2006
Emiliano
- wrote the following on Tuesday June 20, 2006
Jennifer Grucza
- wrote the following on Tuesday June 20, 2006
Jon-Michael
- wrote the following on Wednesday June 28, 2006
Kevin
- wrote the following on Monday July 3, 2006
Knowing Art by PJ
- wrote the following on Thursday July 6, 2006
David Kitchen
- wrote the following on Sunday August 6, 2006
John Pools
- wrote the following on Tuesday August 29, 2006
Tony Dna
- wrote the following on Thursday September 21, 2006
praca
- wrote the following on Tuesday October 10, 2006
Pozycjonowanie
- wrote the following on Friday October 20, 2006
Chlodnie
- wrote the following on Monday November 13, 2006
Curt
- wrote the following on Saturday November 18, 2006
Plasma
- wrote the following on Sunday November 19, 2006
Used Buses
- wrote the following on Thursday November 23, 2006
Tom Barnes
- wrote the following on Wednesday November 29, 2006
Robert
- wrote the following on Saturday December 2, 2006
eMule Forum
- wrote the following on Saturday December 9, 2006
Andre
- wrote the following on Monday December 11, 2006
island-man
- wrote the following on Tuesday December 12, 2006
Anne Clark
- wrote the following on Wednesday December 13, 2006
Dominik
- wrote the following on Wednesday December 13, 2006
Kerner
- wrote the following on Monday December 18, 2006
Yamo Konto
- wrote the following on Wednesday December 20, 2006
Brautkleider - Tante
- wrote the following on Wednesday December 20, 2006
server.met jimi
- wrote the following on Wednesday December 27, 2006
Mag
- wrote the following on Sunday January 14, 2007
Sven
- wrote the following on Thursday February 22, 2007
Dow
- wrote the following on Friday March 9, 2007
