USA: 1-253-242-9162.
India: 91-9823371776.
  • Home
  • Strategy
  • Services
  • Help & Support
  • Projects
  • Technologies We Use And Like
  • Lets Talk !
24
Dec
2011

.htaccess Tricks

Posted by gis

The most common question i get is “How do i redirect my site?”. The answer is simple : “.htacess rules”.

There are several reasons why a redirect should be done , the most important being change of URL. When you rename a file or move it to another folder the link is lost because search engines might have already crawled your site and are still pointing to the old file-name or location.  This would lead to a nasty 404 error, unless ofcouse we add a .htaccess redirect.

Here’s how it’s done. create a new file with the name “.htaccess” and add the following:

Redirect 301 /OLD-FILENAME.html http://www.MYDOMAIN.COM/NEW-FILENAME.html

Posted in: Jargon, seo, Server Related
No Comments
  • {Free Consultation}

    Get a free quote on your next project

    Contact Us

  • {24×7 Support}

    support.globalinteractivesystems.com
  • {Recent}

    • .htaccess Tricks
    • A Quick Captcha Plugin
    • Registering A Domain Name
    • Moving a wordpress site
    • Landing Pages, what are they?
Copyright © Global Interactive Systems. Rights Reserved.