How to Fix & Resolve Indexed, though blocked by robots.txt


(Deepak sahu) #1

Search console me ye warnign show ho raha hai isko kaise fix karu? mai iska screenshot neeche de raha hu.




(Sanjay jadav) #2
User-agent: *
Disallow: /wp-admin/
Disallow: /cgi-bin/
Disallow: /comments/feed/
Disallow: /trackback/
Disallow: /xmlrpc.php
Allow: /wp-admin/admin-ajax.php

User-agent: Mediapartners-Google*
Allow: /

User-agent: Googlebot-Image
Allow: /wp-content/uploads/

User-agent: Adsbot-Google
Allow: /

User-agent: Googlebot-Mobile
Allow: /
Sitemap: https://yoursiteurl/sitemap.xml

Aap is code ko robot txt file me add kare


(Rizwan) #3

आप
Wordpress dashboard>>Yoast>>Tool>>File editor में जाके नीचे :point_down::point_down: दिए गए टेक्स्ट को कॉपी कीजिये और Paste कर दें।

User-agent: *
Disallow: /wp-admin/
Disallow: /go/
Allow: /wp-admin/admin-ajax.php

Sitemap: https://www.अपना लिंक.com/sitemap.xml

आपका solution कुछ ही टाइम में हो जायेगा


(Deepak sahu) #4

Thanx Sanjay & Rizwan sir


(Deepak sahu) #5

Rizwan ji ye coce paste karne ke baad meri site open nahi ho rahi hai… 505 internel server error show ho raha hai.


(Deepak sahu) #6

not working… 500 internel error show


(Deepak sahu) #7

iamjdk sir, hello jumedeen sir plz help. abhi tak koi solution nahi bata paya.


(Jumedeen khan) #8

Aap wordpress default robots.txt use kar rahe ho isme /wp-admin/ directory ko block kiya hua hai aur ye bilkul sahi hai, admin content ko index karne ki jarurat nahi hai.

Ans: Jo script block hai use index karane ki jarurat nahi hai, Avoid this error.