View Single Post
  #13 (permalink)  
Old 06-20-2005, 09:56 PM
gRF gRF is offline
WebProWorld New Member
 
Join Date: Aug 2003
Location: singapore
Posts: 15
gRF RepRank 0
Default Re: Why use mod_rewrite

Quote:
Originally Posted by PHPfan
I see lots of people talk about using mod_rewrite to make URLs better, but is there a reason why no one seems to use a script that parses the URL chunks and determines what to do?
That's just one of the ways to go, and it seems if you let PHP script parse the URL, it's easier on the server. Apparently mod_rewrite requires more server ressources then PHP solution. Example: www.tutorio.com

But if you know how to use regex in your .htaccess, you don't really have to write bunch of mod_rewrites.

Also, try to avoid "id=" in URLs and scripts - replace it with "pw=" or whatever. It seems the Google sometimes omits that part assuming that's related to PHP session.
__________________
Bollé _ Bozidar Mladenovic
Exit Web Design & Development, Singapore
bolle (at) exit [dot] sg
Reply With Quote