Uploaded image for project: 'Google Sitemap (closed)'
  1. Google Sitemap (closed)
  2. MGNLGS-136

URI2RepositoryMapping to sitemap.xml is not working anymore

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Critical Critical
    • None
    • 2.4.4
    • None
    • Magnolia 5.5.6
    • Yes
    • Yes

      The sitemap.xml files are not working and can not be rendered anymore.

      To reproduce the issue, simply follow the documentation:
      https://documentation.magnolia-cms.com/display/DOCS/Google+Sitemap+app#GoogleSitemapapp-Creatingasitemap
      1. Create a new sitemap "standard-google-sitemap"
      2. Site selection: "/travel"
      3. Save changes and publish the node.
      4. Try to access the sitemap:
      https://demoauthor.magnolia-cms.com/sitemaps/standard-google-sitemap.xml

      The result is a 404 page. It can be fixed by changing the URI2RepositoryMapping "uriPrefix"

      /config/server/URI2RepositoryMapping/mappings/sitemaps
      URIPrefix IS: /sitemaps/
      URIPrefix SHOULD BE: /sitemaps
      

        Acceptance criteria

              Unassigned Unassigned
              jcrobert Jean-Charles Robert
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: