-
Notifications
You must be signed in to change notification settings - Fork 24
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
Maintain compatibility with old links on new site #14
Comments
Oh yeah the There should probably be an issue somewhere talking about how the update infastrucutre is going to work. Edit: I gave updating the version checker a go myself. I didn't find any plans on how this should work so I just did what I thought would be reasonable. If there were any other plans do discard this. The update checker now works by having a I thought about using the GitHub releases api directly, but that doesn't play nice with the SVN revision number currently used for versioning. Changing it to actually compare the version number would also be possible, but binding it to the website has the added advantag of Aegisub not reporting an update that isn't available on the website. Changes to Aegisite: seproDev/aegisite@5463b38...json-update |
For the redirects, I'm not sure what the provider supports - I'll have to ask jfs. |
Ideally we would be able to redirect old URLs to new ones as to not break links.
Some DNS providers allow setting fake
REDIRECT
records that could be used to setup redirects like this:www.aegisub.org
aegisub.org
(alternatively CNAME)docs.aegisub.org/*
aegisub.org/docs/*
blog.aegisub.org/*
aegisub.org/blog/*
ftp.aegisub.org
aegisub.org/downloads/
(?)devel.aegisub.org
github.com/Aegisub/Aegisub
(* meaning with the path being forwarded)
Speaking of DNS records, looking at the NS records
aegisub.org
seems to be using GratisDNS as a DNS provider which will be shutting down by the end of the month. Customers can migrate to one.com, but maybe this is a good time to re-evaluate providers.If redirects at the DNS provider level are not possible, we could either point all subdomains at the site and use some javascript to redirect to the correct page or use something like cloudflare workers to make the redirects.
Edit: if we are hosting on our own hardware anyway doing those redirects in the nginx config would be much better than using javascript.
The actual forwards on the site (blog URLs differ completely and docs URLs are not capitalized by hugo) can be handled with hugo aliases. Once the switch to hugo is done and the DNS situation is figured out I'll make a PR adding the aliases.
The text was updated successfully, but these errors were encountered: