kashifkhan112 Posted February 8, 2016 Share Posted February 8, 2016 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" Link to comment Share on other sites More sharing options...
kashifkhan112 Posted February 8, 2016 Author Share Posted February 8, 2016 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.htmlUser-agent: *# Private pagesDisallow: /*?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=addressesDisallow: /*controller=addressDisallow: /*controller=authenticationDisallow: /*controller=cartDisallow: /*controller=discountDisallow: /*controller=footerDisallow: /*controller=get-fileDisallow: /*controller=headerDisallow: /*controller=historyDisallow: /*controller=identityDisallow: /*controller=images.incDisallow: /*controller=initDisallow: /*controller=my-accountDisallow: /*controller=orderDisallow: /*controller=order-opcDisallow: /*controller=order-slipDisallow: /*controller=order-detailDisallow: /*controller=order-followDisallow: /*controller=order-returnDisallow: /*controller=order-confirmationDisallow: /*controller=paginationDisallow: /*controller=passwordDisallow: /*controller=pdf-invoiceDisallow: /*controller=pdf-order-returnDisallow: /*controller=pdf-order-slipDisallow: /*controller=product-sortDisallow: /*controller=searchDisallow: /*controller=statisticsDisallow: /*controller=attachmentDisallow: /*controller=guest-tracking# DirectoriesDisallow: */classes/Disallow: */config/Disallow: */download/Disallow: */mails/Disallow: */modules/Disallow: */translations/Disallow: */tools/# FilesDisallow: /forgot-your-passwordDisallow: /addressDisallow: /addressesDisallow: /authenticationDisallow: /cartDisallow: /discountDisallow: /order-historyDisallow: /identityDisallow: /my-accountDisallow: /order-followDisallow: /order-slipDisallow: /orderDisallow: /searchDisallow: /quick-orderDisallow: /guest-tracking# SitemapSitemap: https://ottomanhands.com/1_index_sitemap.xml Link to comment Share on other sites More sharing options...
grandall1069 Posted February 7, 2017 Share Posted February 7, 2017 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now