Discuss Domain Redirection (Best Practices)? in the Google Optimization forum on SEO Chat. Domain Redirection (Best Practices)? Google Optimization forum discussing techniques to increase rank in Google. Find help for defeating spam pages, building site trust, and beating the Google algorithm. Also read about the best SEO tools to help with Google search.
BuySellLinks.com is a new Text Link Advertising Brokerage by the founder of LinkAdage that offers high-end text links and a premier membership base. We screen all advertisers and publishers and their web pages to make sure we are offering a service that works for everyone. Our plug-in is super easy to install but if you are hands off, w e offer free installation.
Tired of dealing with shady text link buyers and/or sellers? Try BuySellLinks.
Receive the tools necessary to be the rock star of your field. Our 12-month program teaches you the evolving world of multi-channel marketing as well as the complex issues and opportunities found in the industry.
Posts: 3
Time spent in forums: 25 m 23 sec
Reputation Power: 0
Domain Redirection (Best Practices)?
Imagine that our primary domain name is widgets.com. Imagine then that we also own steelwidgets.com and plasticwidgets.com, and point them both through A records back to the same IP address as widgets.com.
This is detrimental though, in that searching Google for widgets, results from all three domain names show up, likely hurting our SEO.
What is the best possible solution to redirect these to widgets.com?
Currently, I have 301 redirects set up on the widgets.com home page, but if the person visits plasticwidgets.com/company.aspx they are not redirected to widgets.com/company.aspx. Sure, I could set up 301 redirects on every single page of the web site but this is, of course, not ideal. I have explored using CNAME records to accomplish this, but I cannot seem to add a blank CNAME record, only a WWW CNAME record. This works if someone visits www.plasticwidgets.com, but not if they visit plasticwidgets.com without the WWW.
Posts: 1,222
Time spent in forums: 4 Days 8 h 9 m 56 sec
Reputation Power: 153
You could do the 301 redirect at a site wide level and that way the redirected domains would stay out of the SERPs.
__________________ Get Your FREE SEO Guide on how I managed to grab the #1 position on Google
for hundreds of extremely competitive keywords... ==>Get FREE Google Ranking Guide Here!
Posts: 3
Time spent in forums: 25 m 23 sec
Reputation Power: 0
UPDATE: For anyone searching the forum, here is a piece of code (Classic ASP) I wrote quick that works great. This way, a user hitting "plasticwidgets.com/company.asp" will be properly redirected with a 301 to "widgets.com/company.asp"
So in IIS, I created a new web site that "plasticwidgets.com" and "steelwidgets.com" point to. I set the 404 page to "default.asp", and put the code below in "default.asp"
Code:
<%
var_redirect = request.servervariables("query_string")
var_redirect = replace(var_redirect, "404;http://", "")
var_redirect = replace(var_redirect, ":80/", "")
var_redirect = replace(var_redirect, request.servervariables("server_name"), "")
response.status="301 Moved Permanently"
response.addheader "Location", "[http://]www.widgets.com/" & var_redirect
%>
'Note: remove the brackets in the "Location" above. The forum doesn't allow newbies to post URLs, so I had to do that to break the form.