Hi, I’ve noticed on a few different sites how it seems that url’s with variables are written as directories…
ie. instead of
myhouses.com/index.php?section=listings&type=homes&location=waterfront
… its written myhouses.com/listings/homes/waterfront
to pass those three variables in the URL
i’ve searched a bit on this and found that this method is advantageous for SEO and imo looks better. Does anyone know of scripts or resources for creating and parsing this type of variable passing? I found one method that requires setting up an .htaccess file, but i’m looking optimally for a pure php solution, ie exploding the url into an array… but how are directories handled with this method?.. and does it mean that all the scripting goes into the index file?
thx,
CC