Domain Migration: Apache Server 301 Redirects and Updated References #137
Open
ScottHaval wants to merge 5 commits into
Open
Domain Migration: Apache Server 301 Redirects and Updated References #137ScottHaval wants to merge 5 commits into
ScottHaval wants to merge 5 commits into
Conversation
…osts with relative paths (consistent with main blog posts)
…ill rediect the user to the correct vitalik.eth.limo url. Simply run '/publish.py --sync' to Apache Server and when users visit vitalik.ca, a 301 redirect will send them to the correct link on vitalik.eth.limo
Author
|
Hi @vbuterin, would you be so kind as to review my PR? I have fixed the domain redirect issue with your prior Apache Server setup on the .ca TLD. Now you can continue to operate the site locally, make updates, generate the content hash for IPFS/Limo, and sync with your prior Apache Server. The server will 301 redirect the links to your new vitalik.eth.limo site via a .htaccess file. This is important because it allows for backwards compatibility for historic posts and articles online regarding your blog. Also, it will not disrupt your workflow as you can conduct the fix simply by syncing it with your VPS/Server as you previously did when writing new articles. It is crucial this fix is made. Thank you. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR addresses broken links from the old vitalik.ca domain by:
.htaccessredirect configurationChanges Made
1. Added 301 Redirect Configuration
site/.htaccesswith Apache redirect rules./publish.py --syncis run2. Updated Config Files
config.md: Changed domain and icon URLs to https://vitalik.eth.limoREADME.md: Updated to use HTTPS3. Fixed Translated Posts (17 references)
Converted absolute URLs to relative paths (matching English versions):
legitimacy_ES.md(9 images)rollup_ES.md(3 images)networkstates_zhCN.md(3 images)ux_zhCN.md(1 image)voting.md(1 blog post link)Notes
/files/misc_files/remain unchanged as those files don't exist in the repo or on IPFSsite/will auto-update when posts are regeneratedmod_rewriteenabled on Apache (typically enabled by default)Testing
To activate the redirect, run: