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

VLAE-21: Replace node URLs with path alias urls on all VLA websites i… #1254

Open henrytranvan opened 1 year ago

henrytranvan commented 1 year ago

…n SDP.

Motivation and Context

JIRA issue: https://digital-engagement.atlassian.net/browse/SDPA-

Changed

When VLA migrated our content into SDP, all of the internal links on pages were brought across as links to nodes, rather than to user-friendly path alias URLs based on the page titles.

We'd like to replace these node URLs with path-alias URLs across the site.

Is it possible to run a script to do this?

Here's an example:

This page was auto-migrated: https://www.lawhub.vla.vic.gov.au/witnesses-magistrates-court On it, there is a link to the node URL https://www.lawhub.vla.vic.gov.au/node/6848 We'd like that link to go to the path alias https://www.lawhub.vla.vic.gov.au/witnesses-magistrates-court

Screenshots

How Has This Been Tested?

Types of changes

Checklist