Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

henrytranvan
Copy link

@henrytranvan henrytranvan commented Oct 18, 2022

…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

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Improvement/refactoring (non-breaking change that doesn't add any features but makes things better)

Checklist

  • I've added relevant changes to the documentation.
  • I have added tests to cover my changes (if not applicable, please state why)
  • My change requires a template update for create-ripple-app.
  • I have added template update script for next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant