Thread Rating:
  • 0 Vote(s) - 0 Average
Share Thread:
How to 301 redirect properly?
#9
It’s a common question that pops up. You own several domains and host duplicate copies of the same site (or simply point them all to one site). Your business strategy changes and so does the need to change to a new domain. You buy out your competitor’s site but just want to point it to your own. There are many reasons WHY you would want to redirect a domain, but making sure proper redirects are in place can be the difference between advancing your site in the SERPs to dropping out of the SERPs altogether. For additional reading, see our post on resolving canonical issues with 301 Redirects as well (www vs non-www pages).

Consider the value of the domain(s) you are redirecting. MAX out the domain registration to preserve your backlinks as well as to protect against someone buying it up later. It will also preserve any browser bookmarks that are out there to the old domain. This first step is not a requirement for 301 redirecting a domain.
Point the old domain to the new using proper 301 Redirects:
A) An .HTACCESS file:
301 Redirect an entire website domain:
Redirect 301 / <!-- m --><a class="postlink" href="http://example.com/">http://example.com/</a><!-- m -->
NOTE: This maps old pages to new pages 1 to 1… If the new page doesn’t exist on the new site, you will get 404 errors. So, be careful with this common redirect.
301 Redirect an entire website domain to a single page:
RewriteEngine on
RewriteRule ^.*$ <!-- m --><a class="postlink" href="http://www.example.com/index.html">http://www.example.com/index.html</a><!-- m --> [L,R=301]
301 Redirect a page to a sub-folder:
Redirect /index.html <!-- m --><a class="postlink" href="http://example.com/newdirectory/">http://example.com/newdirectory/</a><!-- m -->
301 Redirect a page to a new website page:
Redirect /oldfile.html <!-- m --><a class="postlink" href="http://example.com/newfile.html">http://example.com/newfile.html</a><!-- m -->
B) Or within Windows IIS (will need to work with website administrator)

Again, if the domain is not an exact match to the new destination website, a whole site 301 redirect will not work. In this case, 301 redirects should be employed page by page (section by section). Pages that relate can be redirected to their proper counterparts. Any pages that have no homes can simply be redirected to the homepage.
When all website 301 redirects are in place, check your work:
A) Take a sampling of URLs from the old site (representing groups of redirects) and check to make sure they all resolve as proper 301 redirects. This site, <!-- m --><a class="postlink" href="http://www.webconfs.com/http-header-check.php">http://www.webconfs.com/http-header-check.php</a><!-- m -->, has a tool which when you put in the URL should mention that it’s a 301 from page A to B.
B) See what Google sees. Go to Google and do a site search (Translation, put the following into a Google search, site:YOURSITE.com). Check each link to make sure that it is actually going where it should be. Fix any issues.
301 Redirects can be a bit tricky to use, and if not coded properly, they just won’t work. If you need HELP ensuring proper 301 redirects are set up on all of your website properties, contact Mannix Marketing – experts in Internet Marketing since 1996.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)
[-]
Ad

[-]
Top Articles
100+ Social Bookmarking Sites List
55+ Image Submission Sites List

[-]
Recent Posts
Nexaslim: Skulptera din kropp med lätthet!
Nexaslim Marknaden för viktminskningsprodukter och kosttillskott är enorm och står för en...reviewnexaslim — 10:35 AM
Google SERP Changes & Algorithm Updates - May 2024
@anush Couldn't agree with you more. They are just stealing headlines and calling it an A...UKcart — 02:44 PM
Google SERP Changes & Algorithm Updates - May 2024
Listen people don't panic. In many cases traffic has become zero so consider yourselves l...anush — 02:43 PM
Lucky Affiliate - All in One Thread
Share your thoughts about this network. Your reviews, feedbacks, any suggestion for the o...Aff — 05:45 AM
Google gives a Manual Action Penalty after March 2024 update
It is for "User generated spam". Our content is well hand written and no f...ananittarhib — 03:16 AM

[-]
Follow us on Facebook