This post is a continuation of my previous blog on this topic, Web Site User Friendly URLs with mod_rewrite, won’t work.
My goal was to create web site user friendly URLs that would look like this, www.example-domain.com/products/shirts/. There would no longer be huge address with data, html or php files being referenced and the address would accept with or without a trailing slash (slash at the end of the URL). From that point a script would take the path (i.e. /products/shirts/) to determine if the content existed. If the content existed display content to client (end user viewing/srufing the web site) other wise display a user friendly 404 Not Found message to client.
Continue reading →