Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

Can re-direct from a prefix? #31

Open
msdolbey opened this issue Jan 19, 2022 · 0 comments
Open

Can re-direct from a prefix? #31

msdolbey opened this issue Jan 19, 2022 · 0 comments

Comments

@msdolbey
Copy link

I may not be understanding this plugin altogether correctly, but I do enjoy using this plugin.

But, my issue is, we have some documentation that has changed location (we changed the name of our app).

How do I use that app name in a URL as a prefix for all the other URLs that are in that directory.

For example, say I have this app:
http://www.example.com/docs/cool-app/
We renamed cool-app to professional-app, so I know this will work if I use a redirect here:
http://www.example.com/docs/professional-app/

BUT, we moved everything in /cool-app/ to /professional-app/.

Without having to make many redirects for every sub directory/child page, is there a way with this plugin to have everything from
http://www.example.com/docs/cool-app/* go to http://www.example.com/docs/professional-app/*
Like:
http://www.example.com/docs/cool-app/v1/install redirect to http://www.example.com/docs/professional-app/v1/install
or
docs/cool-app/v1/release-notes/patch-1 to /docs/professional-app/v1/release-notes/patch-1

Thank you.

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

No branches or pull requests

1 participant