1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-19 08:55:32 -04:00

fix some old 404s

This commit is contained in:
2020-05-13 20:58:55 -04:00
parent bd8b6b9370
commit 5ece879708
2 changed files with 13 additions and 8 deletions

View File

@@ -1,7 +0,0 @@
{
"ignoredFiles": [
"*.svg",
"**/logo.*"
],
"aggressiveCompression": "false"
}

View File

@@ -81,6 +81,10 @@
from = "/rss" from = "/rss"
to = "/feed.xml" to = "/feed.xml"
status = 301 status = 301
[[redirects]]
from = "/index.xml"
to = "/feed.xml"
status = 301
[[redirects]] [[redirects]]
from = "/index.php*" from = "/index.php*"
to = "/" to = "/"
@@ -99,6 +103,14 @@
from = "/resume" from = "/resume"
to = "/resume.pdf" to = "/resume.pdf"
status = 302 status = 302
[[redirects]]
from = "/me.jpg"
to = "/img/me.jpg"
status = 301
[[redirects]]
from = "/me_large.jpg"
to = "/img/me_large.jpg"
status = 301
[[redirects]] [[redirects]]
from = "/favicon.ico" from = "/favicon.ico"
to = "/img/favicon.ico" to = "/img/favicon.ico"
@@ -173,7 +185,7 @@
status = 403 status = 403
force = true force = true
[[redirects]] [[redirects]]
from = "*/wp-includes/*" from = "*/admin/*"
to = "/403.html" to = "/403.html"
status = 403 status = 403
force = true force = true