DivitoDesign

Everything for the Web Professional

Redirect Search Engine Friendly

Information about the Author:

Name:

URL: http://twitter.com/divitodesign

Description enjoy design, write articles, like typography, love football, keep chilling.

More on: Search Engine Optimizing

27 Comments

  1. Volkan Görgülü says:

    A great tutorial, thanks for sharing.

  2. Sio says:

    Hi, thanks for the information.
    Do you just put the .htaccess file in the root directory? or do you need to do something in your webpage?

  3. Sio: Yes, you should put this file in the root directory of your domain and you do not have to change anything in your webpage.

    Thanks for the comments.

  4. Very nice! Thanks for sharing.
    I have a question.
    What if we use a server side scripting function like “header” in PHP for redirect? Is it same as 303? How is it different from the HTML redirect?

  5. Thanks for your comment. It is possible to redirect in PHP as well, search engine friendly. This can be achieved with this:

    < ?
    Header( "HTTP/1.1 301 Moved Permanently" );
    Header( "Location: new-url.com" );
    ?>

    Doing a HTML redirect isn’t really possible in SEO land, because spammers abused the technique. You should use the PHP or .htaccess redirect.

  6. Vic says:

    I am looking at maybe switching to Drupal god knows this post comes in handy lol.

  7. Rob Ray says:

    I currently have a number of static sites which I want to convert into blogs. I had no idea about how to do redirects so this is very helpful to me. Thanks.

  8. George says:

    Wish I would have found this post when I was setting up my site. Excellent info here.

  9. ximx says:

    Thanks for usefull info. Gonna try it on my new website.

  10. Lars says:

    Is there a way for my PHP scripts loading pages from a location, to see if a redirect is 301 by .htaccess or an HTML redirect?

    I would like to use this info in my website quality test. So far I thought all redirects were unpopular with search engines. Now I understand this is not the case, I need to be able to tell the two apart.

  11. I don’t really understand what you mean, Lars. I understand you are Dutch, could you explain it to me via email? I will try to answer your question. :)

    -EDIT-
    I now do understand what you mean. You want some kind of “redirect-checker” to build inside your meta-tool. I suggest you take a look at this tool: SEO Redirect Checker. The codes are provided, so it might be possible to build that in your own tool! By the way, I love your tool, it pointed out some great things to me as well!

    Thanks

  12. Thanks for the great article about search engine friendly redirects. You did a great job breaking up the explanation into the what a 301 redirect is, why to implement a 301 redirect instead of another kind of redirect, and how to implement it. I always know a great article when I can use it now and bookmark it for later.

  13. Volkan says:

    A great tutorial, thanks for sharing.

  14. [...] And if i do at some point, then I have to migrate all the posts, comments, etc. over to the new site. Then do a little trick so that the search engines don’t wipe me out of their listings because of duplicate content – this involves, from what I’ve read, putting a 301 redirect in the .ht … something or other. On the server. At the “root level”. You techfreaks can read about it here. [...]

  15. crazygums says:

    thanks for that, i will take my experience with my htaccess-files….

  16. Redirects are especially helpful when you change your branding. We are still getting traffic from our four year old predecessor site. We at Crown SEO, Ltd. have seen blogs and sites skyrocket overnight into number one Google position through the use of white hat SEO tools so the concepts of this blog are correct.

  17. I have also try it and it really works

  18. Stefan,this was just the tutorial-type explanation I was looking for. I’m trying to make all my pages, like mysite.com go to http://www.mysite.com…the difference is the www. because if mysite.com has 200 inbound links and http://www.mysite.com has 400 inbound links, and you do a 301 redirect then Google will know that you have a real total of 600 inbound links. Anyway, my purpose for needing the htaccess is a bit different than the use you were suggesting (which will come up one day I’m certain), but it works for my purpose too! Thanks!

  19. such a important skill to master. 301 is the correst answer to this

    SEO Company Leeds

  20. Yeah, thanks for sharing i didn’t know how to do this before. Thanks

  21. Thank you so much for the post! Having a better understanding of redirects has helped immensely, especially the 301 redirects. Many of our clients have landing pages that change so often…this was very helpful.

  22. yep, 301 all the way.. can also pass over page rank if you are lucky.

  23. It’s important to make sure not to manipulate any other part of the htaccess file. Be very careful when editing this file.

  24. Thanks for your help, this info really helped me out. Now all I need to figure out is how to get .htaccess to redirect my 404, 405 errors, any tips?

    Thanks

Please Respond and Give your Opinion

We use Gravatar to handle our avatars. Get one there!