Forum
Welcome, Guest
Please Login to access forum.
image sitemap error (1 viewing) 
Go to bottom
TOPIC: image sitemap error
#5185
RYANJIM
Fresh Boarder
Posts: 15
User Offline
image sitemap error Karma: 0  
submit to google and get error: Sitemap contains urls which are blocked by robots.txt.

my robots.txt
Code:

User-agent: * Allow: /*.js* Allow: /*.css* Allow: /*.png* Allow: /*.jpg* Allow: /*.gif* Disallow: /administrator/ Disallow: /bin/ Disallow: /cache/ Disallow: /cli/ Disallow: /includes/ Disallow: /installation/ Disallow: /language/ Disallow: /layouts/ Disallow: /libraries/ Disallow: /logs/ Disallow: /tmp/ Disallow: /Page-* User-agent: * Allow: /images/ User-agent: Mediapartners-Google Disallow:
image url are using cdn like: cdn.domail.com/image.jpg How to fix it? thank you
 
Logged Logged  
  The administrator has disabled public write access.
#5186
RYANJIM
Fresh Boarder
Posts: 15
User Offline
Re:image sitemap error Karma: 0  
i'd add //cdn.domain.com to CDN images protocol feature and get error too
 
Logged Logged  
  The administrator has disabled public write access.
#5187
John Dagelmore
Admin
Posts: 3722
User Online Now
Re:image sitemap error Karma: 79  
Hello again,

looking at your current robots.txt file i don't see any directive blocking links for images from your CDN.
Eventually try to remove the following:

User-agent: Mediapartners-Google
Disallow:

Also take care that when you edit the robots.txt it's not immediate effect in Google Webmasters Tools, you have to resubmit it and it may take up to 2-3 days to be refresh and be effective. So it could still be blocked on a previous version of the robots.txt blocking image.

After you wait some days you can even resubmit the sitemap using a different link to be sure that it will be refreshed.

Thank you

John
 
Logged Logged  
  The administrator has disabled public write access.
#5188
RYANJIM
Fresh Boarder
Posts: 15
User Offline
Re:image sitemap error Karma: 0  
why Hreflang contains 0 URLs
 
Logged Logged  
  The administrator has disabled public write access.
#5189
John Dagelmore
Admin
Posts: 3722
User Online Now
Re:image sitemap error Karma: 79  
please refer to the PDF docs at the paragraph 'Hreflang sitemap' for detailed explanations about this kind of sitemap.

It can be published and it makes sense only if you have a multilanguage website and if you have configured Joomla associations for menu and contents.

Cheers
 
Logged Logged  
  The administrator has disabled public write access.
#5198
RYANJIM
Fresh Boarder
Posts: 15
User Offline
Re:image sitemap error Karma: 0  
how to generate image sitemap url from local server like domain.com/images/123.php
because jmap generate images url from cdn.domain.com and google show error robots not allowed, i disband cdn feature and submit google is ok

my cdn robots.txt is
User-agent: *
Allow: /images/
Allow: /*.js*
Allow: /*.css*
Allow: /*.png*
Allow: /*.jpg*
Allow: /*.gif*

Disallow: /

how to fix the cdn image sitemap robots error?
 
Logged Logged  
  The administrator has disabled public write access.
Go to top