Jump to content
TNG Community

Google can't read Sitemap


MadRanger

Recommended Posts

I installed the Create Sitemap MOD v12.0.0.2, ran the secondary process and posted the resulting  file URL on Google analytics. That site reports a 404 even though Robots.txt Tester site indicates that Google-bot was Allowed. Any idea why the conflicting reports from Google?

The link in my Secondary Process page opens the file location: https://www.carrfamilytree.com/tngsitemap1.xml.gz2021-10-25

https://www.CarrFamilyTree.com

v13.0

Regis

Link to comment
Share on other sites

Roger,

Thank you for your reply. I was too quick in copy-paste. Indeed the MOD generated the file name as you noted. However, when I clicked on the url in the MOD result, it appended the 2021-10-25 at the end.  I used the SITEMAP INDEX address noted by the MOD yesterday and Google apparently found it - but could not ID the type file. This morning I used "Sitemap files" as named earlier by the MOD and it could not fetch. The file does have content: http://carrfamilytree.com/genealogy/index.phpweekly http://carrfamilytree.com/genealogy/getperson.php?personID=I1&tree=CFT2015-04-25T16:25:25+00:00weekly ....

Thinking part of my problem is http:/https: related, I added these lines to my .htaccess from TNG WIKI

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

 

 

Sitemap - MOD result 2021-10-25.JPGSitemap - MOD result.JPGSitemap - Google2.JPG

 

 

Link to comment
Share on other sites

Yes, something odd is going on - I could access the site yesterday, but today as Ken notes it gives an error message.

For Google, you just need to tell them the URL to the sitemapindex file - they read that and discover the URL(s) to the actual sitemap files which are .gz compressed.

I'd try removing that code from the .htaccess file

Roger

Link to comment
Share on other sites

Roger. I removed the code from the .htaccess file this morning before even reading the newspaper. Just went back to check the Google sitemap status page - Success. Thank you for stepping in to help.

Ken,

I am still chasing the problem problem you mentioned. I thought it was the https: issue. I can log into the admin page, sign out and run the site as a guest. It must have something to do with the redirect from https://carrfamilytree.com to the subdirectory: https://carrfamilytree.com/genealogy/

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...