How to add no-cache for CSS

How to add no-cache for CSS

There are many possible way to add no cache to a CSS. Before seeing the method I want to tell you why we need to write no cache to CSS. When there is an updated in CSS then you find the the right class and ID and update the code with minor or major change. Once the...

non-www to www redirect

Why you have to do the non-www to www redirect? Some of the users follow the conventional method of typing the URL from www. if your website does not support this then there might be chances that your website is not loaded. Why to take chances. How to redirect your...

Denny or allow access for IP ranges

We can block a single domain or a complete range such as entire countries. deny from 99.1.0.0/255.255.0.0 To allow Range of Multiple Ip address: allow from 99.88 99.88.77 11.22.33 Place these code in .htaccess

Automatically CHMOD various file type

Several sites have been harmed due to improper permissions. This interesting hack gives the site a semi-auto healing mechanism. Warning: Your mileage may vary. {code type=PHP} #Ensure CHMOD settings for specified file types # remember to never set CHMOD 777 unless you...