Skip to content

Commit

Permalink
[DOCS] Mention XML sitemap configuration (#735)
Browse files Browse the repository at this point in the history
  • Loading branch information
kitzberger authored May 27, 2024
1 parent 1471bc6 commit c133e52
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
24 changes: 24 additions & 0 deletions Documentation/Configuration/XmlSitemap.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
.. _xmlsitemap:

===================
XML Sitemap
===================

Since `ext:headless` 4.0 there's no custom code regarding the XML sitemaps
apart from the templates used to render the XML sitemap's source code.

Troubleshooting
===============

In case the URLs listed in the "sitemap index" file (usually `/sitemap.xml`)
aren't "frontend URLs" (but their API variant), consider setting one of the two
following configurations:

* either `frontendApiProxy` being defined in the site's `config.yaml`
* or this in the site's `settings.yaml`:

.. code-block:: yaml
headless:
sitemap:
key: frontendBase
1 change: 1 addition & 0 deletions Documentation/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ or `report a problem <https://github.com/TYPO3-Initiatives/headless/issues/new>`
Installation/Index
Configuration/Index
Configuration/Preview
Configuration/XmlSitemap
Developer/Index
Developer/Images
FAQ/Index
Expand Down

0 comments on commit c133e52

Please sign in to comment.