What is the Best Way to Do a 301 Redirect?
Articles,  Blog

What is the Best Way to Do a 301 Redirect?


what is the best way to do a 301 redirect hello and welcome in this video session I’m going to show
you a better way to understand 301
redirection now when you think of redirecting any URL that has moved you need to think okay what you’re
basically saying when you use 301 redirection is you’re saying okay the old URI has now permanently moved to a new
location but its still there you know what I’m saying that is the
key to to grasp whereas 404 that’s different 404
messages are for non-existent web pages whereas 301’s you’re saying it’s permanently moved okay its shifted somewhere else but it’s still
there online right so now that we understand that concept let’s have a look at this slide now whether you’re using 301’s for your current domain or whether you
you moving your entire domain to a new domain the concepts as I’ve shown you before they stay the same a lot of webmasters what they do is when they delete their old pages you know they basically use 301’s to redirect all the old pages to their home page or
a new domain don’t do that that’s not smart what you
need to think of is this the old URL that you have what is the
content on it what was the content what is the content what is what is
the webpage talking about what was on it and then you identify another page on your website that is closely related to that content same is true for all of your re-directions you need to come
up with that one to one relationship the old URI what is it close to as far as content wise that is the key now let’s take a look at what Google
guidelines suggests to us as website owners because
that’s what I’d like to share with you instead of making assumptions or
throwing empty claims I show you look this is what Google says because it’s only smart and it is only logical to do it like this what its saying is “make sure that each old URL points to the new URL that hosts similar content” and that is the best way to utilize 301 redirects okay simple I thank you very much once again and I’d
like you to subscribe to my YouTube channel
because I have great videos already and I will be adding more useful
ones so that you can grow your online business I thank you very much for learning with me and I hope to talk to you in the next video
session thank you very much happy rankings

4 Comments

  • RankYa

    You're welcomed mate, in fact I strongly encourage you to watch all the tips and tricks (perhaps will take you couple of hours to go through them all) and yet, you are getting potent information that are direct result of many years of learning.

    I am working on explosive videos that will make all my subscribers jaws drop when they see the new videos coming soon, stay with me man and I will teach you no BS SEO to all your keywords properly; (thank you for sharing the vids) happy rankings;

  • ItsTheCoolest

    RankYa – I am going to rebuild/replace my old HTML site with a new WP site and I want to preserve the Google PR I have with the old HTML site. I really hope you can answer my questions, please…

    1) I have not installed a WP directory in my root folder for the new WP site yet. Should all of my redirects from my old HTML site to the new WP site be created in the htaccess file of my old HTML website?

    2) I have 2 htaccess files in the root directory of my cpanel for my old HTML site. One is named htaccess and the other is named htaccess.phphandler.1405463382 and both have the same 301 redirect I created 6 years ago when I rebuilt the original HTML site with a newer HTML site. Should I leave the file named htaccess.phphandler.1405463382 alone and create ALL of the new 301 redirects from the old HTML site to the new WP site in the file named htacess?

    3) LIke I said before, in the .htacess file is an old 301 redirect from 6 years ago that looks like this: redirect 301 /testimonials-blah-blah-blah-blah.html http://www.mywebsite.com/testimonials.html QUESTION: If the URL for the testimonial page on my new WP site is going to be http://www.mywebsite.com/testimonials then what should the 301 redirect look like since there is already a 301 redirect in there for the testimonials page I rebuilt 6 years ago? How would you structure the new redirect?

    4) Does it matter if the word "redirect" in the htaccess file starts with a capital R like this "Redirect" or with a lower case r like this "redirect"?

    5) Should all of my 301 redirects in my htacess file be on separate lines and look like this?
    redirect 301 old-page new-page
    redirect 301 old-page new-page
    redirect 301 old-page new-page
    redirect 301 old-page new-page

    6) Should the new WP directory that will replace my old HTML site go in the same root directory where all the files of the old/existing HTML site currently reside? If so, how do you designate that the new WP directory be the main domain in that cpanel since in that cpanel are other directories (a WP blog for the old/existing HTML site and a WP membership site for the old/existing HTML site, etc.)? Does the fact that the new WP site directory will have the exact same name as the cpanel make it the main domain for that cpanel?

    7) After I build the new WP site and create all the 301 redirects from the old HTML site to the new WP site, can I put all of the scattered files of the old HTML site that are in the root directory of that cpanel in a folder and call it something like "Old HTML Site"? If so, should the htaccess file from the old HTML site (where all the 301 redirects are) also go in the folder named "Old HTML Site" or should that htaccess file remain where it is now in the root directory?

    Thanks

  • Rakib Zaman

    I have read the FAQs and checked for similar issues: YES / NO
    My site's URL (web address) is: www.60minit.com
    Description (including timeline of any changes made): Planning to move identical content from old website to new website.

    Hello,
    I am seriously planning to take up a new domain name (example www.newwebsite.com), and then 301 redirect the old website (www.oldwebsite.com) to the new website.
    To be exact, it will be www.60minit.com to www.60minit.com.my. The new website will have identical structure, webapges and content as the old website.

    My questions:
    1. I want to do page to page 301 redirect. After I have done the 301 redirect www.oldwebsite.com to www.newwebsite.com. Is it ok if I then continue to 301 redirect page to page.
    www.oldwebsite.com to www.newwebsite.com
    www.oldwebsite.com/page1 to www.newwebsite.com/page1
    www.oldwebsite.com/page2 to www.newwebsite.com/page2
    www.oldwebsite.com/page3 to www.newwebsite.com/page3
    www.oldwebsite.com/page4 to www.newwebsite.com/page4
    and so on…..

    2. Can I take out the identical content from the old website webpages and put them into the new website webpages ? (page to page)
    To prevent the duplicate content issue, I will then delete the copied content in the old website. But then my oldwebsite pages will have no content ! Is it advisable to do so ?

    I sincerely hope that someone with knowledge about my questions will kindly shed some light for me to proceed to move my website as safe as possible.

    Thank you.

    Or is it better to leave the old website content in the old website as it is and start writing new content for the new website?
    Thank you

Leave a Reply

Your email address will not be published. Required fields are marked *