htaccess

Recently I noticed that a caching plugin was creating problem with the WordPress blog. Instead of performance upgrade, my blog was becoming less responsive. I had to turn it off and change the caching plugin. That cache plugin installed cache code in .htaccess file as well. I had to remove it too. I have compiled […]

{ 0 comments }

I have been experimenting with .htaccess a lot regarding with mod rewriting and URL rewriting and had a lot of difficulty finding the solutions regarding to exact problem I faced. This stuff is such a headache. I am feeling headache right now as I am typing after messing with a lot of .htaccess codes. Here […]

{ 3 comments }

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 […]

{ 4 comments }

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 […]

{ 2 comments }

.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 […]

{ 11 comments }

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. […]

{ 1 comment }

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 […]

{ 0 comments }

Essential DotHtaccess Hacks

by Hiroshi on September 29, 2008

in htaccess

.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.

{ 0 comments }