DLFMetadataAssessment / Sandbox

Sandbox for reworked DLF AIG MWG Site / Output
MIT License
3 stars 10 forks source link

Redirect /MetadataSpecsClearinghouse/* using jekyll-redirect-from plugin #287

Closed sgolds15 closed 2 years ago

sgolds15 commented 2 years ago

I believe this will work on production but not on sandbox and not while a baseurl is set. Since what needs to redirect is https://dlfmetadataassessment.github.io/MetadataSpecsClearinghouse/ and this URL does not have a sandbox subdirectory, a match for the redirect to happen will not occur on sandbox (or locally with baseurl: /Sandbox). You can still test this locally by going to http://localhost:4000/Sandbox/MetadataSpecsClearinghouse/ and confirming that it redirects. On production, when baseurl: /Sandbox is gone, everything should redirect 100% as expected.

kateefly commented 2 years ago

This is fantastic @sgolds15 ! Thanks so much - this solution will definitely work.