RSS Feed
Knowledgebase : Programming & Languages > .htaccess
To enable your browser's caching generally means that you can specify how long browsers should keep images, CSS and JS stored locally. Of course, if you change any of those, the server will tell the visitor's browser to clear that cache. To enable it, add...
How would it be possible to get my users from http:// to an https:// connection? There are a couple of ways, one involves PHP and the other .htaccess. There is no real difference, so please use whichever one you feel most comfortable wit...
Create a file named .htaccess in your public_html folder and add the following lines: +-+-+-+-+-+-+-+-+ order deny,allow deny from all allow from IP allow from IP allow from IP +-+-+-+-+-+-+-+-+ Then replace IP with your IP address or IP addre...
Google and most search engines see domain.com and www.domain.com as two different sites/pages. The problem is if you get links to your site, some with the www and some without, your total number of links isn't the true total. It's split between the two....
If you would like to remove the ending extensions for your files such as; .html, .php, .htm, and so forth, this can be done quite simply using the following steps: Developer Note: this is a feature that you will be using .htaccess files to turn ...
The following is a way to have a search-engine friendly URL such as http://www.example.com/blog/2007/jan in the browser, be transformed server-side to http://www.example.com/blog/index.php?year=2007&month=jan without changing what is seen in the addre...
Understanding .htaccess In this tutorial you will find out about the .htaccess file and the power it has to improve your website. Although .htaccess is only a file, it can change settings on the servers and allow you to do many different things, the m...