dpc-sdp / ripple

Ripple is the frontend framework for Single Digital Presence, delivered using Nuxt and Vue.js
Apache License 2.0
61 stars 37 forks source link

[SDPAP-6677] adding support for sitemap variants #1255

Closed lambry closed 1 year ago

lambry commented 1 year ago

Motivation and Context

JIRA issue: https://digital-vic.atlassian.net/browse/SDPAP-6677

Changed

Added support for sitemap variants, i.e just adding one new proxy path. Drupal (Simple XML Sitemap) supports three sitemap URL patterns, this PR just adds support for the third URL.

So now the following three URLs will load sitemaps: https://app.pr-1255.ripple.sdp4.sdp.vic.gov.au/sitemap.xml https://app.pr-1255.ripple.sdp4.sdp.vic.gov.au/test/sitemap.xml https://app.pr-1255.ripple.sdp4.sdp.vic.gov.au/sitemaps/test/sitemap.xml

Note, the following made up sitemap should 404: https://app.pr-1255.ripple.sdp4.sdp.vic.gov.au/madeup/sitemap.xml

Screenshots

Screen Shot 2022-11-02 at 4 20 23 pm Screen Shot 2022-11-02 at 4 47 33 pm