Protect hotlinking the right way. There are content stealers out there who will copy your links and images and display them at their websites in result of which you pay more for bandwidth. If you do not do it the right way, you can block google and feedburner also. Here is a code to do […]
You must enable mod_rewrite before you can use it. If you want to enable it in httpd.conf, then use Options FollowSymLinks Fileinfo or Options SymLinksIfOwnerMatch Fileinfo If you wish to enable mod_rewrite at the .htaccess level (i.e. only in certain (sub)directories within each vHost and not for all (sub)directories of each vHost), then you must […]
.htaccess file is a magic file. You can change the way your website works by using it. I have been reading a lot about .htaccess files. Perticularly .htaccess is very useful in shared web hosting environment where the users have no direct access to their servers or they want to implement some restrictions/security to their […]
Feedburner is a very useful service for adding a visual user and search engine friendly rss with your blog. Every successful blogger uses Feedburner service. Feedburner also provide a way to know your subscribers and emails your subscribers when ever an update is available at your blog without causing any load at your own server. […]
In your HTML directly link to the file which is to be downloaded. i.e. <a href="………/files/somefile.pdf">Download Pdf</a>. You will get a pop-up box asking whether you want to save the file or open it normally. Now you want to download it so open .htaccess file and write there some lines according yo your requirement mentioning […]
.htaccess rules can be different for different hosts. This is file in root directory of website which defines certain rules for website behavior for some requests.