Important notes about htaccess redirection
Written by Deepak Shrivastava on August 27, 2008 – 12:06 pm1. Always be sure to upload .htaccess files in ascii mode, sending it up as binary will break it (and usually make your server very, very unhappy.)
2. .htaccess does not work if you’re on a windows server.
3. Make sure you triple check your changes. Clear your cache and look, test the server headers to make sure you see a 301 (that means its permanent) not a 302 (temporary) unless you are absolutely sure you really mean temporary.
4. Since some operating systems don’t allow you to make a file without something before the “.” you may need to save it as something.htaccess, some may even have to save it as htaccess.txt and change it once you’ve uploaded it.
5. Make sure your ftp program will show .htaccess files (FileZilla does and is free) It is a bit hard to edit something you can’t see
6. Double check that you’re not overwriting an old one (some servers already place one there for your custom 404 pages etc.)
7. Make sure you replace example.com with your own sites URL ![]()
Last 5 posts by Deepak Shrivastava
- What are Web Feeds? - November 13th, 2008
- Three Simple Seo Tips - November 11th, 2008
- Google Spam Filters - November 6th, 2008
- Make Your Website User Friendly - October 17th, 2008
- Traffic Tactics For Your Blog - October 7th, 2008
Leave a Comment
You must be logged in to post a comment.
Subscribe to my blog using RSS