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
Biopeak Male Enhancement Reddit Reviews:-Read This Before Buying!
Biopeak Male Enhancement Reddit Reviews:- In the quest for vitality and enhanced perform...Ktheskle — 07:17 PM
Starting Consulting Agency
Determine the specific area or industry in which you will offer consulting services. Cons...nyfemumo — 02:55 PM
Google SERP Changes & Algorithm Updates - May 2024
SEMrush is hot since yesterday. I bet this was the reason all. How is your traff...tabassum21 — 02:45 PM
Google SERP Changes & Algorithm Updates - May 2024
SEMrush is hot since yesterday. I bet this was the reason all. How is your traffic...anush29 — 02:44 PM
Leading Glass Company in Dubai, UAE
How To Choose The Best Tempered Glass Company In Dubai? Are you trying to find the...glasscompanyuae — 08:20 AM

[-]
Follow us on Facebook