View Single Post
  #3  
Old 03-21-2017, 09:45 PM
 
anandat anandat is offline
 

X-Adept
  
Join Date: Jan 2004
Posts: 914
 

Default Re: google images search results drop after CDN

Hi Alex,
All cdn images have link at primary domain.
but robots.txt of https://cdn.mysite.com has

User-agent: *
Disallow: /

So I guess google bots not able to crawl https://cdn.mysite.com even though all products images links are there at https://www.mysite.com

So one idea is to use following robots.txt at https://cdn.mysite.com
User-agent: *
Disallow: /
Allow: /images/

This way google bots can only access images only at https://cdn.mysite.com & not any other content. And you have to first add url cdn.mysite.com at google webmaster tools so google bots come to know that mysite.com is interlinked with cdn.mysite.com. I have verified cdn.mysite.com using google analytics code method so it will consider both site as same.

This is what my logic.

The other idea is to upload products-sitemap with images url at https://www.mysite.com but there is no such site map generator is available for x-cart

I want to know how other people have successfully managed with CDN without losing images in google search results.
__________________
X-Cart: 4.7.7 LIVE
Skin:Ultra by xcartmods.co.uk
X-cart Modules: | ACR, Rich Google Search, Customer Testimonials | Cloud Search, | Websitecm: CDSEO (2.1.9)
---------------
Server: Linux
php: 5.3
mysql: 5.0.89
----------------
Reply With Quote