A while back, I started to get fascinated with the idea of search engine friendly URL.
Instead of having http://www.somewhere.com/news/script.php?page=index&date=20050901
I would have: http://www.somewhere.com/news/index/20050901/
Now, one of the ways of getting this done is through Apache's mod rewrite (Rewrite Rule)
From what I gathered, having a friendly URL is good because it lets you:
- Hide the real programming language behind the URL
- Make the site looks neater and more professional
- Search engine friendly
- Easier to read and remember
On the other hand:
- Performance hit because of the rewrite rule analyzed with each page access
- It's hard to learn ,p
So, my questions for webmasters and web developers who know more about the website performance:
1. Is the performance hit really that hard for sites utilizing mod rewrites? For sites with about 5000 page access per month, do you think the web hosting company will go nuts with all the extra processing? 500000 pages? 3+ million hits?
2. Is it worth the performance hit to have nice-looking URLs?
3. How noticably slower are sites who use mod rewrite vs ones without?
4. What are the hidden cost and dangers I have to look for?
Thanks -)
Instead of having http://www.somewhere.com/news/script.php?page=index&date=20050901
I would have: http://www.somewhere.com/news/index/20050901/
Now, one of the ways of getting this done is through Apache's mod rewrite (Rewrite Rule)
From what I gathered, having a friendly URL is good because it lets you:
- Hide the real programming language behind the URL
- Make the site looks neater and more professional
- Search engine friendly
- Easier to read and remember
On the other hand:
- Performance hit because of the rewrite rule analyzed with each page access
- It's hard to learn ,p
So, my questions for webmasters and web developers who know more about the website performance:
1. Is the performance hit really that hard for sites utilizing mod rewrites? For sites with about 5000 page access per month, do you think the web hosting company will go nuts with all the extra processing? 500000 pages? 3+ million hits?
2. Is it worth the performance hit to have nice-looking URLs?
3. How noticably slower are sites who use mod rewrite vs ones without?
4. What are the hidden cost and dangers I have to look for?
Thanks -)