massenergize / massenergize-campaigns

MassEnergize Campaigns
MIT License
1 stars 1 forks source link

Simplify Campaign page URLS #310

Open BradHN1 opened 2 months ago

BradHN1 commented 2 months ago

As a user or admin: I want URLs for subpages to be easy to read and simple.

In addition to using the Campaign specific URL, simplify the rest of the URL, without any UUIDs embedded in it.

Currently, from the PluginMetrowest.org page, if I navigate to the community solar page, two UUIDs get added to it: https://campaigns.massenergize.org/campaign/4f8fa492-a58d-469c-ba47-3fd4b89efdb2/technology/1afb13cd-0b32-4fb3-92c6-3e9da2f1edbd

Ideally this URL would be: PlugInMetrowest.org/technology/community-solar. We could cap the name of the tech to perhaps 16 characters, and if there are ambiguities with the technology name use an unambiguous stub like 'community-solar1"

When this change is made, old links (with the embedded UUIDs) should still navigate to the correct page, but resolve to the new simpler link.

There should be no URLs with UUIDs once this change is made.