Css 呈现后被Google阻止的样式表
在Google Search Condole中呈现我的网站时,我发现我的网站的样式表被阻止了。获取状态显示为“部分”。我怀疑这是我的网站没有出现在谷歌搜索结果中的原因 然而,将我的网站添加到Bing搜索引擎后,一个小时后它就会出现在搜索结果中。因此,我的网站在Bing中不存在任何索引问题 如何允许Googlebot访问我网站的CSS文件 我正在使用Magento网站。以下是从搜索控制台获取的详细信息:Css 呈现后被Google阻止的样式表,css,magento,stylesheet,robots.txt,Css,Magento,Stylesheet,Robots.txt,在Google Search Condole中呈现我的网站时,我发现我的网站的样式表被阻止了。获取状态显示为“部分”。我怀疑这是我的网站没有出现在谷歌搜索结果中的原因 然而,将我的网站添加到Bing搜索引擎后,一个小时后它就会出现在搜索结果中。因此,我的网站在Bing中不存在任何索引问题 如何允许Googlebot访问我网站的CSS文件 我正在使用Magento网站。以下是从搜索控制台获取的详细信息: http://www.cherryconcept.com/skin/frontend/defa
http://www.cherryconcept.com/skin/frontend/default/ma_sahara_fashion5/css/styles.css3.php?url=http://www.cherryconcept.com/skin/frontend/default/ma_sahara_fashion5/ Style Sheet Blocked robots.txt Tester
http://www.cherryconcept.com/skin/frontend/default/ma_sahara_fashion5/css/bootstrap.css Style Sheet Blocked robots.txt Tester
http://www.cherryconcept.com/skin/frontend/default/ma_sahara_fashion5/css/bootstrap-theme.css Style Sheet Blocked robots.txt Tester
http://www.cherryconcept.com/skin/frontend/default/ma_sahara_fashion5/css/font-awesome.css Style Sheet Blocked robots.txt Tester
http://www.cherryconcept.com/skin/frontend/default/ma_sahara_fashion5/css/font-awesome.min.css Style Sheet Blocked robots.txt Tester
http://www.cherryconcept.com/skin/frontend/default/ma_sahara_fashion5/css/styles.css Style Sheet Blocked robots.txt Tester
http://www.cherryconcept.com/skin/frontend/base/default/css/widgets.css Style Sheet Blocked robots.txt Tester
http://www.cherryconcept.com/skin/frontend/default/ma_sahara_fashion5/magentothem/fancybox/jquery.fancybox.css Style Sheet Blocked robots.txt Tester
http://www.cherryconcept.com/skin/frontend/default/ma_sahara_fashion5/magentothem/ajaxcartsuper/ajax_cart_super.css Style Sheet Blocked robots.txt Tester
http://www.cherryconcept.com/skin/frontend/default/ma_sahara_fashion5/magentothem/css/categorytabsliders.css Style Sheet Blocked robots.txt Tester
http://www.cherryconcept.com/skin/frontend/default/ma_sahara_fashion5/magentothem/css/custommenu.css Style Sheet Blocked robots.txt Tester
http://www.cherryconcept.com/skin/frontend/default/ma_sahara_fashion5/magentothem/imagerotator/effect.css Style Sheet Blocked robots.txt Tester
http://www.cherryconcept.com/skin/frontend/default/ma_sahara_fashion5/layerednavigationajax/jquery-ui.css Style Sheet Blocked robots.txt Tester
http://www.cherryconcept.com/skin/frontend/default/ma_sahara_fashion5/magentothem/css/ma.upsellslider.css Style Sheet Blocked robots.txt Tester
http://www.cherryconcept.com/skin/frontend/default/ma_sahara_fashion5/magentothem/css/ma.verticalmenu.css Style Sheet Blocked robots.txt Tester
http://www.cherryconcept.com/skin/frontend/default/ma_sahara_fashion5/magentothem/css/ma.banner7.css Style Sheet Blocked robots.txt Tester
http://www.cherryconcept.com/skin/frontend/default/ma_sahara_fashion5/magentothem/css/ma.brandslider.css Style Sheet Blocked robots.txt Tester
http://www.cherryconcept.com/skin/frontend/default/ma_sahara_fashion5/css/print.css Style Sheet Blocked robots.txt Tester
http://www.cherryconcept.com/skin/frontend/default/ma_sahara_fashion5/images/logo.png Image Blocked robots.txt Tester
这是我的robots.txt
:
# Google Image Crawler Setup
User-agent: Googlebot-Image
Disallow:
# Crawlers Setup
# Directories
Disallow: /404/
Disallow: /app/
Disallow: /cgi-bin/
Disallow: /downloader/
Disallow: /errors/
Disallow: /includes/
#Disallow: /js/
#Disallow: /lib/
Disallow: /magento/
#Disallow: /media/
Disallow: /pkginfo/
Disallow: /report/
Disallow: /scripts/
Disallow: /shell/
Disallow: /skin/
Disallow: /stats/
Disallow: /var/
# Paths (clean URLs)
Disallow: /index.php/
Disallow: /catalog/product_compare/
Disallow: /catalog/category/view/
Disallow: /catalog/product/view/
Disallow: /catalogsearch/
#Disallow: /checkout/
Disallow: /control/
Disallow: /contacts/
Disallow: /customer/
Disallow: /customize/
Disallow: /newsletter/
Disallow: /poll/
Disallow: /review/
Disallow: /sendfriend/
Disallow: /tag/
Disallow: /wishlist/
Disallow: /catalog/product/gallery/
# Files
Disallow: /cron.php
Disallow: /cron.sh
Disallow: /error_log
Disallow: /install.php
Disallow: /LICENSE.html
Disallow: /LICENSE.txt
Disallow: /LICENSE_AFL.txt
Disallow: /STATUS.txt
# Paths (no clean URLs)
Disallow: /*.php$
Disallow: /*?SID=
你发布的
robots.txt
似乎不是你想要的。您当前的robots.txt
包含:
User-agent: Googlebot
Allow: /blocked-folder/css/
Allow: /blocked-folder/java/
...
Disallow: /skin/
因此,您明确告诉Googlebot不要获取/skin
目录中的文件
编辑:您还有以下规则
Disallow: /*.php$
它不允许所有PHP文件。删除这些行就可以了。我更改了/skin目录以允许:/skin/并且渲染结果仍然是部分的,但我在谷歌上发现了一个问题;我删除了php行并编辑了一些php文件以允许,几乎完成了对Spulate的操作,但仍然出现了一个问题;syleesheet Unreachable还robots.txt发现一个警告craw delay:10Google不使用
爬网延迟
,并将其作为警告报告。大型搜索引擎也从谷歌那里获得了领导地位,并拥有一个网站管理员工具类型的系统,在这个系统中,你可以在24小时内形成爬行流量,而不只是全面减缓爬行速度。