Grow your CSS skills. Land your dream job.

301 Redirect using htaccess

  • # February 18, 2011 at 2:50 pm

    I’ve had a static website for quite some time. I’m thinking of incorporating my static website into my blog and using the blog to administer everything. Would make maintenance much easier!

    However, there are numerous inbound links to my site to these static pages. I don’t want to lose those visitors.

    So would using 301 redirects through htaccess be the solution? What’s the best practice when using this method?

    Thank you!

    # October 18, 2011 at 11:34 am

    Hello Jacorre,

    You are correct in using a 301 redirect with your htaccess file. It is the proper way to tell search engines (like Google) that you website has moved permanently(different redirect codes), and will keep any SEO you’ve built up over the years.

    An extra step to take to help keep users coming to your pages, and to keep any search engine standings for particular pages you might have, is to redirect any old pages to new pages with the same, or updated content.

    Basically if you had a page on the Dinosaur T-Rex, and then you 301 redirect that page to your new home page that isn’t specifically about the T-Rex, that link will drop in position.

    So consider 301 redirecting every individual page for the best results.

    Hope that helps!

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".