Jump to content

271 Blocked Resources In Web Master Tool In Prestashop Version 1.6.0.14


Recommended Posts

In  https://www.google.com/webmasters => Google Index => Blocked Resources i see 271 blocked resources, it means 271 links are not indexing in search engines. (see search console -block resources.png)

 

I have created new robots.txt file from back office => Preferences => SEO and URLS => Generate robots.txt file (see robots.png)

 

When i click on any blocked link, it suggest me to do this: "The page may not render properly due to resources blocked by http://www.ottomanhands.com/robots.txt Update the robots.txt rule to unblock the resource"
 
 
 
 

post-272513-0-11395900-1454907361_thumb.png

post-272513-0-18600000-1454907444_thumb.png

Link to comment
Share on other sites

robots.txt code is:

 

# robots.txt automaticaly generated by PrestaShop e-commerce open-source solution
# http://www.prestashop.com - http://www.prestashop.com/forums
# This file is to prevent the crawling and indexing of certain parts
# of your site by web crawlers and spiders run by sites like Yahoo!
# and Google. By telling these "robots" where not to go on your site,
# you save bandwidth and server resources.
# For more information about the robots.txt standard, see:
# http://www.robotstxt.org/robotstxt.html
User-agent: *
# Private pages
Disallow: /*?orderby=
Disallow: /*?orderway=
Disallow: /*?tag=
Disallow: /*?id_currency=
Disallow: /*?search_query=
Disallow: /*?back=
Disallow: /*?n=
Disallow: /*&orderby=
Disallow: /*&orderway=
Disallow: /*&tag=
Disallow: /*&id_currency=
Disallow: /*&search_query=
Disallow: /*&back=
Disallow: /*&n=
Disallow: /*controller=addresses
Disallow: /*controller=address
Disallow: /*controller=authentication
Disallow: /*controller=cart
Disallow: /*controller=discount
Disallow: /*controller=footer
Disallow: /*controller=get-file
Disallow: /*controller=header
Disallow: /*controller=history
Disallow: /*controller=identity
Disallow: /*controller=images.inc
Disallow: /*controller=init
Disallow: /*controller=my-account
Disallow: /*controller=order
Disallow: /*controller=order-opc
Disallow: /*controller=order-slip
Disallow: /*controller=order-detail
Disallow: /*controller=order-follow
Disallow: /*controller=order-return
Disallow: /*controller=order-confirmation
Disallow: /*controller=pagination
Disallow: /*controller=password
Disallow: /*controller=pdf-invoice
Disallow: /*controller=pdf-order-return
Disallow: /*controller=pdf-order-slip
Disallow: /*controller=product-sort
Disallow: /*controller=search
Disallow: /*controller=statistics
Disallow: /*controller=attachment
Disallow: /*controller=guest-tracking
# Directories
Disallow: */classes/
Disallow: */config/
Disallow: */download/
Disallow: */mails/
Disallow: */modules/
Disallow: */translations/
Disallow: */tools/
# Files
Disallow: /forgot-your-password
Disallow: /address
Disallow: /addresses
Disallow: /authentication
Disallow: /cart
Disallow: /discount
Disallow: /order-history
Disallow: /identity
Disallow: /my-account
Disallow: /order-follow
Disallow: /order-slip
Disallow: /order
Disallow: /search
Disallow: /quick-order
Disallow: /guest-tracking
# Sitemap
Sitemap: https://ottomanhands.com/1_index_sitemap.xml
 

Link to comment
Share on other sites

  • 11 months later...

Hi,

 

You need to add some allow directives,  mine are:-

 

User-agent: *

# Allow Directives
Allow: */modules/*.css
Allow: */modules/*.js
Allow: */modules/*.png
Allow: */modules/*.jpg
Allow: */modules/*.gif
Allow: */themes/simplio/*.css
Allow: */themes/simplio/*.js
Allow: */themes/simplio/*.png
Allow: */themes/simplio/*.jpg
Allow: */themes/simplio/*.gif
 
Change the word "simplio" for your theme name.   I still get blocked resources for the cart
 
Regards Gareth
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...