**Main components:**
* Wikidata Analytics
**Problem:**
We changed the URL paths for all of our Wikidata Analytics products in the past. We need a way to ensure that old bookmarks and links still work.
**List of URLs to rewrite:**
Rewrite URLs so that the outwards facing https://wikidata-analytics.wmflabs.org/XXX URLs internally point to https://wikidata-analytics.wmcloud.org/app/XXX
* https://wikidata-analytics.wmcloud.org/app/WikidataAnalytics
* https://wikidata-analytics.wmcloud.org/app/WDCM_OverviewDashboard
* https://wikidata-analytics.wmcloud.org/app/WDCM_UsageDashboard
* https://wikidata-analytics.wmcloud.org/app/WDCM_SemanticsDashboard
* https://wikidata-analytics.wmcloud.org/app/WDCM_BiasesDashboard
* https://wikidata-analytics.wmcloud.org/app/WDCM_GeoDashboard
* https://wikidata-analytics.wmcloud.org/app/WDCM_SitelinksDashboard
* https://wikidata-analytics.wmcloud.org/app/WDCM_TitlesDashboard
* https://wikidata-analytics.wmcloud.org/app/WDCM_StatementsDashboard
* https://wikidata-analytics.wmcloud.org/app/WD_pageviewsPerNamespace
* https://wikidata-analytics.wmcloud.org/app/WD_percentUsageDashboard
* https://wikidata-analytics.wmcloud.org/app/WD_HumanEdits
* https://wikidata-analytics.wmcloud.org/app/WD_GameReferenceHunt
* https://wikidata-analytics.wmcloud.org/app/WD_Inequality
* https://wikidata-analytics.wmcloud.org/app/WD_LanguagesLandscape
* https://wikidata-analytics.wmcloud.org/app/WD_ExternalIdentifiersDashboard
* https://wikidata-analytics.wmcloud.org/app/CuriousFacts
* https://wikidata-analytics.wmcloud.org/app/CurrentEvents
possibly after re-deployment also:
* Wiktionary Cognate Dashboard T297303
* Wikidata Quality Dashboard T292862
**List of URLs to permanently redirect (301):**
Paths
* Redirect old https://wikidata-analytics.wmcloud.org/QURATOR_CurrentEvents to new https://wikidata-analytics.wmcloud.org/CurrentEvents
Subdomains
* wdcm.wmcloud.org -> wikidata-analytics.wmcloud.org
* wmdeanalytics.wmcloud.org -> wikidata-analytics.wmcloud.org
**Notes:**
* These tools are maintained by @GoranSMilovanovic. Please ask him directly if you need help.
* You can use the [Redirects service](https://wikitech.wikimedia.org/wiki/Nova_Resource:Redirects) to redirect all old subdomains to the new one.
**Acceptance criteria:**
[] Team A is enabled to make redirects and rewrites (e.g. in case they change the URL structure)
[] Implement rewrites as described in "List of URLs to rewrite"
[] Implement redirects as described in "List of URLs to permanently redirect (301)"