Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: justpaulo on July 18, 2019, 07:10:28 AM

Title: Google Cant fetch my Sitemap
Post by: justpaulo on July 18, 2019, 07:10:28 AM
Hi guys, i'm having some serious difficulties in finding a working sitemap solution for my SMF forum.

For some reason the following mods are not working for me, I keep getting the "Sitemap could not be read" error on Google console...

- http://custom.simplemachines.org/mods/index.php?mod=3393
- https://custom.simplemachines.org/mods/index.php?mod=755

I tried several sitemap url combinations, several plugins and I keep having the same issue.

Are you guys having the same issue? What are the possible solutions?

Title: Re: Google Cant fetch my Sitemap
Post by: delta5 on July 19, 2019, 10:20:35 AM
Use the site map mod by kress.it

After you install it, open it up. At the bottom, click the link for the XML version. Give the url link for that to google and bing.
Title: Re: Google Cant fetch my Sitemap
Post by: njtweb on July 19, 2019, 03:34:15 PM
Optimus sitemap, (while packaged with the full SEO mod) is the only sitemap I've found that works with Google and Bing. Those other ones didn't work at all.
Title: Re: Google Cant fetch my Sitemap
Post by: delta5 on July 19, 2019, 08:08:28 PM
I'm running the kress.it mod on 2 forums. Google and Bing both accepted the path to the XML file for me.
Title: Re: Google Cant fetch my Sitemap
Post by: justpaulo on July 22, 2019, 04:30:47 AM
Still not working... Any ideas why?

Screenshot link: https://imgur.com/a/o2tSQ6m (https://imgur.com/a/o2tSQ6m)
Title: Re: Google Cant fetch my Sitemap
Post by: GigaWatt on July 22, 2019, 07:48:37 AM
That's probably because the URL path is wrong :). See the second sitemap URL and where it says "Success", that is how the URL to the sitemap should look like in the example above, through PHP commands (don't know if you could actually fetch the sitemap file like this... maybe some of the sitemap mods have functions like this implemented).
Title: Re: Google Cant fetch my Sitemap
Post by: njtweb on July 22, 2019, 10:18:52 AM
I'm running the kress.it mod on 2 forums. Google and Bing both accepted the path to the XML file for me.

Can you take a screen shot of your Google search console to show what your path looks like with "success" confirmations?
Title: Re: Google Cant fetch my Sitemap
Post by: delta5 on July 22, 2019, 01:37:00 PM
Did you upload those special HTML files to the right places to verify that you are the owner first?
Title: Re: Google Cant fetch my Sitemap
Post by: delta5 on July 22, 2019, 01:40:32 PM
Here is a screenshot of mine. Hope you can view it.
Title: Re: Google Cant fetch my Sitemap
Post by: njtweb on July 22, 2019, 02:47:13 PM
Here is a screenshot of mine. Hope you can view it.

That's a link to your search console web page.
Title: Re: Google Cant fetch my Sitemap
Post by: delta5 on July 22, 2019, 08:36:47 PM
/index.php?action=kitsitemap;xml

This is what i have entered and it was accepted.
Title: Re: Google Cant fetch my Sitemap
Post by: justpaulo on July 23, 2019, 05:58:51 AM
I finally found the problem. For some reason my robots.txt file was blocking Google...
Title: Re: Google Cant fetch my Sitemap
Post by: delta5 on July 24, 2019, 01:53:36 AM
Just curious, what wound up being the correct path to your sitemap xml file?