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:
@@ -1,7 +0,0 @@
|
|||||||
{
|
|
||||||
"ignoredFiles": [
|
|
||||||
"*.svg",
|
|
||||||
"**/logo.*"
|
|
||||||
],
|
|
||||||
"aggressiveCompression": "false"
|
|
||||||
}
|
|
14
netlify.toml
14
netlify.toml
@@ -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
|
||||||
|
Reference in New Issue
Block a user