Url Rewriting using .htaccess
Url Rewriting using .htaccess good example/sites in PHP.
1)Rewriting product.php?id=12 to product-12.html
It is a simple redirection in which .php extension is hidden from the browser’s address bar and dynamic url (containing “?” character) is converted into a static URL.
RewriteEngine on
RewriteRule ^product-([0-9]+)\.html$ product.php?id=$1
2) Rewriting product.php?id=12 to product/ipod-nano/12.html
SEO expert always suggest to display the main keyword in the [...]
How To Stop Hot Linking
Hot linking - someone displays your images on their web site or another site like EBay as an example. This wasts your bandwidth and that can be bad enough but for shops and auctions it could hold a big danger. These people could be using your images to scam people or because they are too idle to make their [...]





