IPs and Domains
-
If a domain loads on the domain and the IP is that a problem?
So it loads on domain.com and 69.16.....com
Thanks!
-
Oh - the IP is the old server, not the IP of the current one? All of the above still applies, except it just got a lot easier!
Redirect all traffic on the old server to the new one (301 redirect). Failing that just turn off the old one.
-
Thanks Mat! Do you think I should disallow the IP address from the old server. The one that this site was switched from?
Thanks again.
-
Sitemap.xml is useful, but it won't help with this issue I am afraid. To solve the problem of the wrong version of the site being indexed you need to instruct search engines that they are looking at the wrong version. It might sound logical to give them a list of the right URLs, but that is not enough. They don't follow the logic of "... and ignore the rest".
There are 2 main ways to go about this. I personally prefer the first, but either is a win. Unfortunately both method will probably require the help of your developer.
Option 1 - 301 Redirects
A rule is added to the server that says "if a user requests a url of http://69.16.xx.xx/pagename.html send them instead to http://www.example.com/pagename.html . Also send a 301 code - and instruction that the old address has been moved permenantly.
Depending on your server set-up this is most likely done by adding some redirect rules to the .htaccess file on the server. Quick easy job for someone who knows that they are doing - literally a few minutes.
Option 2 - rel Canonical
Depending on what powers you site this might be simpler. A conditional statement is added to the code that checks that pages are being served from correct sub/domain. If they are not then a simple tag is added to the HTML output that points the search engines towards the correct address.
If you are using a CMS to power the site this might be a simple change. A few lines added to a common template. Again, quite a fast job. If you are using static pages you won't have the option to use this method.
If all of the above sounds like gibberish then you need to talk to the developer. If not,. then great!
I hope that is some help. I wouldn't panic about this. Even if the IP address versions do all get indexed it is probably not going to cause a big problem to be honest. However if you can you should get it fixed.
-
Thank you Mat. I am seeing the IP address being cache and am considering adding a sitemap to the IP address in my sitemap index xml file. Does this sound like a good idea?
-
Do you mean if the site loads by visiting domain.com and 69.16.xx.xx ?
If so it is only a problem if it starts getting indexed, which usually doesn't happen unless someone links to it. You could have a redirect in place just in case (via .htaccess or similar). Many designed to catch the www and non-www versions would catch this as well anyway.
However, unless you start seeing the ip version appearing in the results I wouldn't overly worry about this.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Is there a tool out there to check any domain that might be pointing to my existing domain?
Is there a tool out there to check any domain that might be pointing to my existing domain?
Technical SEO | | adlev0 -
Questions on switching domain name of my site
Hey guys, I purchased a domain name on May 1st and have been running my site on it since then. At the time when I added the domain name to the shopping cart, I felt that it was the best domain name a human could possibly come up with. But now, after two months, I am not so sure about it. And that means I am thinking of getting a new domain name and redirecting the old domain to the new one. Give that the domain is only two months old, there is not much to lose. However, my domain name does have some valuable backlinks, and has built some credibility in the eyes of search engines. According to MOZ Open Site Explorer, its Domain Authority is 10 and Page Authority (homepage) is 20. It's not much, but I fear that if I switch the domain name, I will reset the clock and the new domain name will have to earn the rankings from scratch That said, after searching this forum, I come across articles like this one from google and this 2012 article from MOZ that gave me some confidence. The MOZ article is from 2102, and there have been several changes since then. Is there an updated version of that article, or another legit article on the internet that you can point me to? As you can tell, I want to be more than sure that we don't take any hit during the migration process. Also want to mention that the site is on WordPress -- in case that is relevant. Thank you for your help.
Technical SEO | | deathbyseo0 -
Redirect non www. domain to WWW. domain for established website?
Hey guys, The website in question has been online for more than 5 years but there are still 2 versions of the website. Both versions are indexed by Google and of course, this will result in duplicate content. Is it necessary to redirect the non-www domain to the www. domain. What are the cons and advantages? Will the www. links replace the non-www links when it comes to keyword rankings? Thanks.
Technical SEO | | BruLee0 -
Beating a keyword Domain
Has anyone here managed to beat a keyword/exact match domain to top spot? I am currently second and wondering if it is worth the time and effort to knock it off the top spot. How hard is it to get these very annoyingly favoured domains off 1st? Any help and advice much appreciated.
Technical SEO | | pauledwards0 -
Changing preferred domain
My company has an international website, and because of a technical issue visitors in one of our main countries cannot visits the "www" version of our site. Currently, the www version is our preferred domain - and the non www redirects to that page. To solve this problem, I was thinking of proposing the following and would greatly appreciate any feedback! (Note: If you answered my www vs. non www question, thanks - this is a follow up) 1. Set non www site as the preferred version 2. Redirect from www to non www 3. Contact our current links and ask them to change to without “www” 4. Change canonical URLs to without “www”
Technical SEO | | theLotter0 -
Subdomain and Domain Rankings
I have read here that domain names with keywords might add a boost to your search rank For instance using a completely inane example monkey-fights.com might get a boost compared to mfl.com (monkey fighting league) when searching for "monkey fights" There seems to be a hot debate as to how much bonus the first domain might get over the second, but leaving that aside for the moment. Question 1. Would monkey-fights.mfl.com get the same kind of bonus as a root domain bonus? Question 2. If the answer to 1 above was yes would a 301 redirect from the suddomain URL to root domain URL retain that bonus I was just thinking on how hard it is to get root domains these days that are not either being squatted on etc. and if this might be a way to get the same bonus, or maybe subdomains are less bonus prone and so it would be a waste of time Thanks
Technical SEO | | bThere0 -
Geotargeting by IP and SEO
Hi, Part of our site displays localized results based on the user's IP (we get the zipcode based on IP). For example a user in NY would get a list of NY based stores, while a user in CA would get a list of CA based stores. So if CA Googlebot comes to our site, it will get results based on Mountain View CA. Given the pages are generated based on your zip, I'm not sure how we'd indicate to Google that we have results for lots of locations and not just the Googlebot IP locations. (users can change their zipcode, but by default we use geolocation). Our landing pages contain localized content and unique urls with the zipcode etc, but it isn't clear how Google will find results for KY etc.
Technical SEO | | NicB10 -
Domain Relocation
My client is running a online news website, which is running for 4 years. He's now looking to change the site into a new domain. I would like to know what are the factors to look out for when changing the site into new domain (In SEO point of view)
Technical SEO | | augmoz110