mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-04-27 12:36:20 -04:00
redirects for ancient links from WordPress era
This commit is contained in:
parent
94562bda19
commit
1b97c6b2de
@ -1,6 +1,6 @@
|
||||
---
|
||||
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
|
||||
---
|
||||
|
||||
|
25
netlify.toml
25
netlify.toml
@ -47,19 +47,37 @@
|
||||
status = 301
|
||||
force = true
|
||||
|
||||
# Support ancient RSS subscriptions from WordPress era:
|
||||
# Support ancient RSS subscriptions and links from WordPress era:
|
||||
[[redirects]]
|
||||
from = "/feed"
|
||||
to = "/feed.xml"
|
||||
status = 301
|
||||
force = true
|
||||
[[redirects]]
|
||||
from = "/rss"
|
||||
to = "/feed.xml"
|
||||
status = 301
|
||||
force = true
|
||||
[[redirects]]
|
||||
from = "/index.xml"
|
||||
to = "/feed.xml"
|
||||
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
|
||||
# and keep the main repository squeaky clean:
|
||||
@ -88,6 +106,11 @@
|
||||
to = "https://modest-jackson-d5516b.netlify.com/awesome/:splat"
|
||||
status = 200
|
||||
|
||||
[[redirects]]
|
||||
from = "/me_lg.jpg"
|
||||
to = "/me_large.jpg"
|
||||
status = 200
|
||||
|
||||
# H A C K E R M A N ( ͡° ͜ʖ ͡°)
|
||||
[[redirects]]
|
||||
from = "*/wp-login.php"
|
||||
|
Loading…
x
Reference in New Issue
Block a user