عدم دسترسی ربات گوگل به بعضی از فایل های js

  • نویسنده موضوع sir1
  • تاریخ شروع

sir1

کاربر عضو
با سلام

در گوگل وبمستر هر چند روز بخش blocked resources چند تا فایل جدید از پوشه wp-includes را نشان می دهد که بهش دسترسی ندارد و بعضی از ادرس های سایت برای گوگل بلوکه می شود.

حدود 400 ادرس توسط امارگیر histats بلاک شده بود که مجبور شدم امارگیر را بردارم. در قسمت robots.txt اصلا دسترسی ربات را به پوشه wp-includes و wp-content محدود نکردم ولی در تصویر زیر می بینید که به بعضی از فایل های js گیر داده.

You must be registered for see images attach


فایل robots.txt

کد:
User-agent: *
Disallow: /wp-admin/
Allow: /wp-admin/admin-ajax.php
Allow: /wp-content/uploads/dynamic_avia/enfold.css

Allow: /$
Sitemap: https://www.acgih.ir/sitemap_index.xml
Sitemap: https://www.acgih.ir/post-sitemap1.xml
Sitemap: https://www.acgih.ir/post-sitemap2.xml
Sitemap: https://www.acgih.ir/post-sitemap3.xml
Sitemap: https://www.acgih.ir/page-sitemap.xml
Sitemap: https://www.acgih.ir/attachment-sitemap1.xml
Sitemap: https://www.acgih.ir/attachment-sitemap2.xml
Sitemap: https://www.acgih.ir/attachment-sitemap3.xml
Sitemap: https://www.acgih.ir/category-sitemap.xml
Sitemap: https://www.acgih.ir/post_tag-sitemap1.xml
Sitemap: https://www.acgih.ir/post_tag-sitemap2.xml
Sitemap: https://www.acgih.ir/post_tag-sitemap3.xml
Sitemap: https://www.acgih.ir/post_tag-sitemap4.xml
Sitemap: https://www.acgih.ir/post_tag-sitemap5.xml
Sitemap: https://www.acgih.ir/post_tag-sitemap6.xml
Sitemap: https://www.acgih.ir/post_tag-sitemap7.xml
Sitemap: https://www.acgih.ir/post_tag-sitemap8.xml
Sitemap: https://www.acgih.ir/product-sitemap.xml
Sitemap: https://www.acgih.ir/product_cat-sitemap.xml
Sitemap: https://www.acgih.ir/product_tag-sitemap.xml
 

Mohammad

مدیر انجمن
پرسنل مدیریت
خب چرا باید اصلا فایل های js شما ایندکس بشه :)

 
بالا