Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redirect from "permanent URL" for a standard to the landing page #83

Closed
baskaufs opened this issue Aug 22, 2018 · 1 comment
Closed
Assignees

Comments

@baskaufs
Copy link

Page(s) where issue occurs

Your url(s) here

Issue description
The "permanent URL" for Audubon Core is http://www.tdwg.org/standards/638 . However, there is currently no redirection from that to the actual landing page of the standard. In the past, there was a server script on the server running the website that accomplished the redirection. However, I'm not aware that there is a way to accomplish something like a 303 redirect on Github pages.

It seems like this could be fixed by creating a subdirectory of the standards directory called "638", then in an index.md file, place the javascript to redirect to the landing page https://www.tdwg.org/standards/ac/. I think this should work:

<script type="text/javascript">
window.location.replace("../ac/");
</script>

although I'm not sure that I understand the process of regenerating the website well enough to know for sure. I'm not sure if this would have any effect on the navigation links or if they are all manually created anyway.

This redirection from permanent URL to landing page needs to be done for all of the standards, but testing it with AC would be a start.

What is wrong? What were you expecting instead?

@MattBlissett
Copy link
Member

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

No branches or pull requests

3 participants