Add redirects for marine life data network documentation pages#73
Add redirects for marine life data network documentation pages#73Nesar976 wants to merge 3 commits intoioos:gh-pagesfrom
Conversation
|
This requires the jekyll-redirect-from plugin. To keep our documentation sites easier to maintain, we don't use plugins. This could be something we might consider, but I'd hate to confuse our community with the addition of plugins. @ocefpaf or @mwengren do you have opinions on adding jekyll plugins to our documentation pages? |
|
I'm not familiar with plugins, but do we need the redirect? Can we remove the pages? |
|
@Nesar976 Did you test this locally? |
|
Maybe not the most elegant solution, but adding the following tags seems to work well without a plugin (example for The old page partially loads before the browser follows the If we wanted to support this approach widely it could be added to an include in ioos/documentation-theme-jekyll, checking for the existence of But like @ocefpaf mentioned, if it makes more sense to remove the pages and update any needed links maybe that's sufficient? Reference: https://excessivelyadequate.com/posts/redirect.html |
|
Thanks for the feedback. To keep things simple and avoid plugins, I’ll update the legacy pages to use a lightweight meta refresh + canonical link so existing URLs continue to work and point to the new docs. I’ll push that shortly. Happy to remove the legacy pages instead if that’s preferred. |
|
I’ve pushed the update replacing |
|
@MathewBiddle @ocefpaf Any arguments against the meta refresh approach? Seems to work fine, is simple, and avoids plugins. |
|
If we need the redirect, I'll leave that to @MathewBiddle, this approach is better than the plugin one. If not, I prefer to remove the pages rather than adding more stuff for future maintenance. |
|
Let's remove the unnecessary pages and be done. Most folks using the content here are/should be aware of the new website. |
|
Sounds good. Before I update the PR, could you please confirm which legacy pages you’d like removed? I want to make sure I’m deleting the correct files and not removing anything still in use. |
|
The pages that have the line |
|
Thanks for confirming. I’ve removed the five legacy pages that contained the migration warning include, as discussed. No other files were modified. Please let me know if anything else needs adjustment. |
|
Hi @MathewBiddle , @srstsavage |



This PR adds redirects for legacy MBON documentation pages so they correctly point to the corresponding pages in the Marine Life Data Network documentation.
The following redirects were added:
• mbon-data-flow.html → marine_life_data_network/data-flow.html
• metadata-eml.html → marine_life_data_network/metadata-eml.html
No other content or files were modified. The changes are intentionally minimal and limited to addressing the redirect requirements described in Issue #68.
Fixes #68