Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

google images search results drop after CDN

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 03-20-2017, 09:44 PM
 
anandat anandat is offline
 

X-Adept
  
Join Date: Jan 2004
Posts: 914
 

Exclamation google images search results drop after CDN

I have recently installed CDN module but after that google images search results has been drop almost to nil.
According CDN company guidelines you have to disallow robots under https://cdn.mysite.com with
User-agent: *
Disallow: /

so that robots must crawl with original source i.e https://www.mysite.com & google will not penalize you for duplicate content

Any of you are facing same issue after going with maxcdn , cloudflare etc?

I am thinking of another idea by providing images site map to google but I guess there is not software available for x-cart to generate images site map of products with thumbnail & detail images for products.
__________________
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
  #2  
Old 03-21-2017, 08:42 PM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: google images search results drop after CDN

Quote:
User-agent: *
Disallow: /

so that robots must crawl with original source

How do they explain this? As far as I understand all images are linked to the CDN domain, and there are no links to the original images hosted on your server. How will the crawler ever find them to index?
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote
  #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
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 07:41 PM.

   

 
X-Cart forums © 2001-2020