How to redirect a user on your website that is using either the iPhone, iPod or Opera Mini is easy to do. All you have to do is is add the following code to your header of your “index” page. Simply change the header address to where you want to redirect the user and your [...]
Archive | September, 2009
A Custom Extension Using .htaccess
I just found out how to create a custom extension using .htaccess to do it and you can too. It’s fairly simple, just add the following to your .htaccess file and put what ever extension you want your files to be. What the following code tells the server is to treat any file with the [...]
Protect your .htaccess file
Worried that someone will try and hack your site by stealing information from your .htaccess file. Well no more as I can help you protect it with just a few simple lines of code that you need to add. Just copy and paste this to the .htaccess file and your done.
Remove the WWW’s Using .htaccess
For some there are some benefits to removing the “www” from your URLs: Shorter URLs. Prevention of Google search engine penalties for duplicate content. Less bandwidth usage if you have many links per page. For me it has helped shorten one of my websites that I am updating. From this: http://www.yourdomain.com To this: http://yourdomain.com Removing [...]
