Url Rewriting using .htaccess
Last Updated on Monday, 7 November 2011 10:23 Written by a2e Wednesday, 22 April 2009 04:55
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
How To Stop Hot Linking
Last Updated on Monday, 7 November 2011 06:05 Written by a2e Friday, 3 April 2009 08:06
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 own images to advertise items, on EBay for example. You may be thinking well even if I stop them hot linking they can always download the images to use them. NOTE – For product images we’ll go into watermarking marking in another post ;-)
Read The Rest Of This...


















