Two domains, one site - what's the best way to set this up?

Two domains, one site - what's the best way to set this up? - If a page has internal and external outgoing links to redirecting URLs, it’s returning 3xx (301, 302, etc.) HTTP status codes standing for redirection. This issue means that the page does not exist on a permanent or temporary basis. It appears on most of the popular web browsers, usually caused by a misconfigured website. However, there are some steps you can take to ensure the issue isn’t on your side. You can find more details about redirecting URLs by reading the Google Search Central overview. In this article, we’ll go over how you can fix the Two domains, one site - what's the best way to set this up? error on your web browser. Problem :


I'm setting up a site, say mysite.com. I've also bought mysite.net.



What's the best way to mange this so that regardless which the user types, they end up on mysite.com?



Also, what are the implications for SERPS, if any? Is it as simple as putting a small redirect asp file on the mysite.net directory like:



<%@ Language=VBScript %>
<%
Response.Status="301 Moved Permanently"
Response.AddHeader "Location","http://www.mysite.com/"
%>


Any downsides to this?



Thanks!


Solution :

You definitely want to do a 301 redirect. This makes sure the search engines know the main URL is the only URL you want them to use. This is important, not only for usability's sake but ensures that you won't have duplicate content issues by having the same content on two different URLs.



Since it sounds like your site is new there won't be any other ramifications to this. If your site was older doing this would also benefit you by making sure any links you got to your secondary URL would be transferred over to the primary domain which would be a positive thing for SEO.


We hope that this article has helped you resolve the redirects, domains, error in your web browsers. Enjoy browsing the internet uninterrupted!

Comments

Popular posts from this blog

How to redirect to any domain [duplicate]

"302 found" for index page bad for SEO?

Create redirect from url like www.example.us/?p=100&option=