MyBB Community Forums

Full Version: Editing robots.txt and sitemap for google seo plugin...
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
www.******.com/sitemap-index.xml

=

This XML file does not appear to have any style information associated with it. The document tree is shown below.

www.****.com/robots.txt

=

404 Error.

Now, when I view the robots.example.txt from the SEO plugin, I see I have to edit a lot... But what exactly do I need to edit? I also don't have a sitemap so I have no idea what to do next.

Edit: I have uploaded the robots.txt file and get the following:

Sitemap: http://**********/sitemap-index.xml

User-Agent: *
Disallow: /captcha.php
Disallow: /editpost.php
Disallow: /misc.php
Disallow: /modcp.php
Disallow: /moderation.php
Disallow: /newreply.php
Disallow: /newthread.php
Disallow: /online.php
Disallow: /printthread.php
Disallow: /private.php
Disallow: /ratethread.php
Disallow: /report.php
Disallow: /reputation.php
Disallow: /search.php
Disallow: /sendthread.php
Disallow: /task.php
Disallow: /usercp.php
Disallow: /usercp2.php
Disallow: /calendar.php
Disallow: /*action=emailuser*
Disallow: /*action=nextnewest*
Disallow: /*action=nextoldest*
Disallow: /*year=*
Disallow: /*action=weekview*
Disallow: /*action=nextnewest*
Disallow: /*action=nextoldest*
Disallow: /*sort=*
Disallow: /*order=*
Disallow: /*mode=*
Disallow: /*datecut=*
Allow: /
However, when I go to sitemap, I still get the same error:

"This XML file does not appear to have any style information associated with it. The document tree is shown below."
It's not an error. Sitemap standard and Google don't need any style in the sitemap so there isn't any. It's not supposed to be seen or browsed by regular users either.
I see.

So everything is fine from what you can see now? The robots.txt file too? Anyways, I never uploaded the robots.txt file before. Do you think I will get higher in google searched now?