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

URI2RepositoryMapping to sitemap.xml is not working anymore

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Duplicate
    • Affects Version/s: 2.4.4
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Magnolia 5.5.6
    • Patch included:
      Yes
    • Testcase included:
      Yes

      Description

      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
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: