How to do ip canonicalization ?
-
Hi ,
my website is opening with IP too. i think its duplicate content for google...only home page is opening with ip, no other pages, how can i fix it?, might be using .htaccess i am able to do...but don't know proper code for this...this website is on wordpress platform...
Thanks
Ramesh
-
Thank you Thomas
-
Hi Ramesh,
Being able to access your website using the IP address is very common and there is nothing that you should be worried about in this regard. It happens when you are hosting your site on a dedicated IP. This won't be the case if you go for a shared hosting where the IP address would be shared among other websites.
Best,
Devanur Rafi.
-
Hi Ramesh,
Chris is absolutely right there's no way your IP address is creating content
Your site is accessible through using DNS domain name servers your IP address is translated by a computer DNS server into something that you can remember like example.com instead of 123.488.91.00
It has no way of creating duplicate content
Regardless you do want to use a
Tags for every valid webpage that you want to show up in Google search engine.
here is more
http://moz.com/learn/seo/canonicalization
http://www.mattcutts.com/blog/rel-canonical-html-head/
http://googlewebmastercentral.blogspot.com/2013/04/5-common-mistakes-with-relcanonical.html
https://support.google.com/webmasters/answer/139394?hl=en
Hope this is of help,
Thomas
-
Ramesh,
It's not a problem that you site opens when you type in the IP address--that's normal.
-
Hello,
You can add the next lines to your .htaccess to overcome the duplicate content on Serach Engines.
RewriteEngine on
RewriteCond %{HTTP_HOST} ^domain.com [OR]
RewriteCond %{HTTP_HOST} ^82.223.246.132
RewriteRule (.*) http://www.domain.com/$1 [R=301,L]
RewriteCond %{THE_REQUEST} ^.*/index.html
RewriteRule ^(.*)index.php$ http://www.domain.com/$1 [R=301,L]
This is for auto WWW, auto redirect from www.domain.com/index.php[or]index.html to www.domain.com
I hope this helped you!
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
-
Should I canonicalize URLs with no query params even though query params are always automatically appended?
There's a section of my client's website that presents quarterly government financial data. Users can filter results to see different years and quarters of financial info. If a user navigates to those pages, the URLs automatically append the latest query parameters. It's not a redirect...when I asked a developer what the mechanism was for this happening, he said "magic." He honestly didn't know how to describe it. So my question is, is it ok to canonicalize the URL without any query parameters, knowing that the user will always be served a page that does have query parameters? I need to figure out how to manage all of the various versions of these URLs.
Technical SEO | | LeahH0 -
Hosting Sites under same IP / subdomain usage?
Hello everyone! The company I am working for is working on selling websites templates to clients in the near future. In terms of SEO purposes, would it be detrimental for our clients if we hosted all of these sites under the same server/IP? Also, in the past we've sold sites under a domain we own, adding them on as a subdomain. For example, we would own yourflowers.com, and if Mark's Flowers wanted a site, we would give him: marksflowers.yourflowers.com These sites are going to be the same niche as we are industry specific (example would be, we sell website templates specifically designed for flower shops around the United States). I want the best possible SEO experience for our clients and I believe using subdomains and hosting under the same server IP can be detrimental, but I wanted to see what the Moz community thinks of this. Any feedback is appreciated! Thanks
Technical SEO | | KathleenDC0 -
Hi - I have a question about IP addresses
- would it hurt link juice to host a blog on a different server to the rest of your website? I have a web host saying they can't run Wordpress as they won't support PHP for "security reasons" - one solution would be to set up Wordpress on a different server and redirect domain.com/blog there (I presume this is do-able?). But I don't know if that affects the SEO adversely?
Technical SEO | | abisti21 -
Do I still need to fix duplicate titles even though they have canonicalized?
Well, what can I say question is on the title 😛
Technical SEO | | atakala
Do I still need to fix duplicate titles even though they have canonicalized?
Thank you mozzers.
I LOVE u guyz.0 -
How a change in IP address affects SEO?
Our domain is pretty mature, has several quality backlinks - ranks well for our key terms - but we need to change our IP address because we use a cloud provider and it's a shared IP that has had a security breach. How will this affect rankings? www.layer7.com
Technical SEO | | Layer7Tech0 -
IP redirect possible SEO issues?
Hi I help manage a small eCommerce business that sells worldwide. We currently have 4 stores www.tidy-books.com (US site) www.tidy-books.co.uk (UK) www.tidy-books.eu (EU) www.tidy-bboks.com.au (AU) We have auto redirect based on the country of your IP. The .com is the route address though. Currently I have decided to focus all my energies with link building etc on .com as it seems to carry the most weight and being a very small team we don't have the resources for separate campaigns for all websites at the moment. Whilst I've done on site SEO with country in mind i.e for US kids instead of children. I'm just wondering if you can see any pitfalls in this approach, Ideally I would like to have a team focus on each store separately and have them as separate domains but with the IP redirect we at least rank well in Google for the .com and the customers gets sent to the relevant store. Any thoughts would be great
Technical SEO | | tidybooks0 -
IP redirects
My website, on a .com domain, displays a different language/content depending on the IP of the user. For example, if someone is browsing my web from Spain, it will show the spanish content, and so on. Does anyone has an idea on how will Google index my pages? Their servers being located in the US, I assume the bot will only crawl and index the english content. How can I tell the bots to do the same for the other languages/content? Thanks!
Technical SEO | | Alemoto0 -
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!
Technical SEO | | tylerfraser0