Step 3: Final Enhancements and the .htaccess File
Tutorial #3 - Creating the .htaccess file
Here's what my htaccess file looks like: (I saved my product detail page as 404.php)
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) /404.php
Why Static Looking URLS?
Static URLs are known to be better than Dynamic URLs because of a number of reasons
1. Static URLs typically Rank better in Search Engines.
2. Search Engines are known to index the content of dynamic pages a lot slower compared to static pages.
3. Static URLs are always more friendlier looking to the End Users.
Good reads: Dynamic URLs vs. Static URLs
How URLs Can Affect Top Search Engine Rankings
