Google reject Tiki generated sitemap
- Status
- Closed
- Subject
- Google reject Tiki generated sitemap
- Version
- 23.x
- Category
- Regression
- Easy for Newbie Dev
- Feature
- Search engine optimization (SEO)
- Resolution status
- Fixed or Solved
- Submitted by
- Bernard Sfez / Tiki Specialist
- Lastmod by
- Bernard Sfez / Tiki Specialist
- Rating
- Related-to
- Description
Google complain (now?) that there is an issue with my sitemap /tiki-sitemap.php?file=sitemap-index.xml
======
Sitemap can be read, but has errors
Unsupported file format
1 instanceYour Sitemap does not appear to be in a supported format. Please ensure it meets our Sitemap guidelines and resubmit.
======
The file look like this : cat /home/domain/public_html/storage/public/sitemap-index.xml
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated by https://git.io/phpseo
-->
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9”>
<sitemap><loc>https://www.domain.com/storage/public/articles.xml</loc><lastmod>2021-09-12T07:31:23+00:00</lastmod></sitemap>
<sitemap><loc>https://www.domain.com/storage/public/blogs.xml</loc><lastmod>2021-09-12T07:31:23+00:00</lastmod></sitemap>
<sitemap><loc>https://www.domain.com/storage/public/blogposts.xml</loc><lastmod>2021-09-12T07:31:23+00:00</lastmod></sitemap>
<sitemap><loc>https://www.domain.com/storage/public/sitemap.xml</loc><lastmod>2021-09-12T07:31:23+00:00</lastmod></sitemap>
</sitemapindex>This file shows error with tools like: https://www.xml-sitemaps.com
XML Validation Results
error Problem detected, please check details below
Sitemap URL http://www.domain.com/tiki-sitemap.php?file=sitemap-index.xml
Character Set
Sitemap is valid No
Warnings -
Errors
Incorrect http header content-type: "text/html; charset=iso-8859-1" (expected: "application/xml")(If I check https://www.domain.com/sitemap.xml
it says it is ok)
Something turned wrong at some point OR Google changed the way it works ?
PS : As temporary mesure on my site I set in Google the sitemap to look for https://www.domain.com/sitemap.xml
===
Update 2021-12-06 after last Tiki23 upgrade:
When I look at the xml produced there : https://example.com/tiki-sitemap.php?file=sitemap-index.xml
I see this and it is rejected of course.
Copy to clipboardhttps://example.com/articles.xml2021-12-06T20:58:02+02:00https://example.com/sitemap.xml2021-12-06T20:58:02+02:00
If I try to split the url and submit those link with date or without is is still rejected.At some point I see where are my sitemaps: https://example.com/storage/public/sitemap-index.xml
<!-- Generated by https://git.io/phpseo
-->
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<sitemap>
<loc>https://example.com/storage/public/articles.xml</loc>
<lastmod>2021-12-06T20:58:02+02:00</lastmod>
</sitemap>
<sitemap>
<loc>https://example.com/storage/public/sitemap.xml</loc>
<lastmod>2021-12-06T20:58:02+02:00</lastmod>
</sitemap>
</sitemapindex>This is accepted but Google find 0 url...
So I have to submit separately:
https://example.com/storage/public/articles.xml
https://example.com/storage/public/sitemap.xml
- Solution
- Fixed on Tiki23 - 2322c5e8
- Importance
- 7
- Easy to solve?
- 5
- Priority
- 35
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 7825
- Created
- Monday 13 September, 2021 05:31:55 UTC
by Bernard Sfez / Tiki Specialist - LastModif
- Tuesday 07 December, 2021 05:57:22 UTC