retype icon indicating copy to clipboard operation
retype copied to clipboard

Please add unpacked Sitemap.xml to root folder

Open sergeykorobeynikov opened this issue 2 years ago • 3 comments

Not all search engines index sitemap.xml.gz, even those defined in robots.txt. Thank you for v3.1.

sergeykorobeynikov avatar Jul 28 '23 13:07 sergeykorobeynikov

Hi @sergeykorobeynikov,

Do you know what search engines do not support the .xml.gz format?

As a work-around, you could manually unzip the sitemap.xml.gz file and add the sitemap.xml into the root of your project, and add the following retype.yml project config:

include:
  - "sitemap.xml"

When Retype builds, the sitemap.xml file will be automatically copied to the output folder.

Hope this helps.

geoffreymcgill avatar Aug 02 '23 20:08 geoffreymcgill

Unrelated - thanks for this post @geoffreymcgill - it's given me some ideas how to better handles my RSS code!

latenitefilms avatar Aug 02 '23 23:08 latenitefilms