Brandon Stout wrote:
http://flfn.org/?q=node/14
Clean URLs? Was there something dirty in the URL? It was tiny, so
there shouldn't be any wrapping issues... Does the URL not work for
anyone? If you mean the "?" in the URL, I don't see the problem there
either. I've not found a single computer that a URL with a ? to begin
GET params doesn't work on. Modifying the path with Apache rewrite
would require more unnecessary processing power. Google doesn't seem to
have problems finding pages on the site either.
Clean URLs are beautiful things.
Which do you think is prettier?
http://flfn.org/?q=node/14
vs
http://flfn.org/node/14
vs
http://flfn.org/blog/spelling_check_her
Besides pretty there are other benefits to clean URLs:
* keywords in the URL for SEO
* obvious understanding what the URL is for before you click
* geek points
There are several ways to implement clean URLs:
* mod_rewrite - a little painful to setup, and processing power is quite
minimal.
* ForceType - simple to implement, but adding new sections requires more
management
* ErrorDocument - simple and elegant.
http://hades.phparch.com/ceres/public/tek/talk/index.php/Apache_Error_Documents_with_PHP
FYI the processing power required to run mod_rewrite is very minimal.
Especially when compared to database transactions.
--lonnie
_______________________________________________
UPHPU mailing list
[email protected]
http://uphpu.org/mailman/listinfo/uphpu
IRC: #uphpu on irc.freenode.net