Unable to submit sitemap in GWM.. Error

3 replies
  • SEO
  • |
I recently published new EMD and installed WP on their. Now i installed the Plugin called Yoast SEO and XML Sitemap. Now whenever i am trying to submit sitemap it shows "URL restricted by robots.txt" but you can see my robots file line written below:

User-agent: *
Disallow: /cgi-bin/
Disallow: /wp-admin/


But still it is showing same error.. i deactivate plugin and resubmit the sitemap but still no luck.. please help..:confused::confused:
#error #gwm #sitemap #submit #unable
  • Profile picture of the author SEO Haven
    Since it's Wordpress, I'd suggest using "Google XML Sitemaps" plugin.

    Uninstall (and delete) ALL other sitemap plugins and install above.

    This should generate a sitemap on yoursite(dot)com/sitemap.xml, which should work perfectly.

    Otherwise, check that your robots.txt isn't maybe blocking GoogleBot
    Signature
    All-In-One SEO & Marketing Service
    If you want the upper hand over your competitors, here's your chance.
    SEO, SMM, Google Local Optimization & Professional Internet Marketing done-for-you.
    Never worry about Traffic & Lead Generation again! Click Here for more info.
    {{ DiscussionBoard.errors[7046002].message }}
  • Profile picture of the author gabibeowulf
    Check the Wordpress privacy settings. Chances are Wordpress is set to block googlebot activity.

    The robots.txt file that you have quoted may bot be what the Google robots see. Wordpress could have modified the access to the robots.txt file, so when googlebot comes it gets served the results of a php file rather than the physical robots.txt you have created.

    Gabriel
    {{ DiscussionBoard.errors[7046872].message }}
  • Profile picture of the author boosters
    This problem solved.. google automatically detect the correct robot and it is ready to indexed...
    {{ DiscussionBoard.errors[7047877].message }}

Trending Topics