1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2026-06-30 03:25:58 -04:00

redirects for ancient links from WordPress era

This commit is contained in:
2019-12-17 11:34:38 -05:00
parent 94562bda19
commit 1b97c6b2de
2 changed files with 25 additions and 2 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
--- ---
title: "Jake Jarvis Front-End Web Developer in Boston, MA" title: "Jake Jarvis Front-End Web Developer in Boston, MA"
date: 2019-12-09 19:50:33-0400 date: 2019-12-17 11:23:21-0400
type: home type: home
--- ---
+24 -1
View File
@@ -47,19 +47,37 @@
status = 301 status = 301
force = true force = true
# Support ancient RSS subscriptions from WordPress era: # Support ancient RSS subscriptions and links from WordPress era:
[[redirects]] [[redirects]]
from = "/feed" from = "/feed"
to = "/feed.xml" to = "/feed.xml"
status = 301 status = 301
force = true
[[redirects]] [[redirects]]
from = "/rss" from = "/rss"
to = "/feed.xml" to = "/feed.xml"
status = 301 status = 301
force = true
[[redirects]] [[redirects]]
from = "/index.xml" from = "/index.xml"
to = "/feed.xml" to = "/feed.xml"
status = 301 status = 301
force = true
[[redirects]]
from = "/index.php*"
to = "/"
status = 301
force = true
[[redirects]]
from = "/blog/*"
to = "/notes/"
status = 301
force = true
[[redirects]]
from = "/archives/*"
to = "/notes/"
status = 301
force = true
# Mirror these directories from elsewhere to mimic old GitHub Pages behavior # Mirror these directories from elsewhere to mimic old GitHub Pages behavior
# and keep the main repository squeaky clean: # and keep the main repository squeaky clean:
@@ -88,6 +106,11 @@
to = "https://modest-jackson-d5516b.netlify.com/awesome/:splat" to = "https://modest-jackson-d5516b.netlify.com/awesome/:splat"
status = 200 status = 200
[[redirects]]
from = "/me_lg.jpg"
to = "/me_large.jpg"
status = 200
# H A C K E R M A N ( ͡° ͜ʖ ͡°) # H A C K E R M A N ( ͡° ͜ʖ ͡°)
[[redirects]] [[redirects]]
from = "*/wp-login.php" from = "*/wp-login.php"