36 lines
1.4 KiB
ApacheConf
36 lines
1.4 KiB
ApacheConf
ExpiresActive On
|
|
ExpiresDefault A31536000
|
|
ExpiresByType text/html A600
|
|
ExpiresByType text/javascript A2592000
|
|
ExpiresByType application/javascript A2592000
|
|
|
|
Options +MultiViews -Indexes
|
|
ErrorDocument 404 /404.html
|
|
|
|
RewriteEngine On
|
|
RewriteBase /
|
|
|
|
# legacy redirects (for deleted stuff)
|
|
RewriteRule ^blog-(.*)$ "blog/$1" [R=301,L]
|
|
RewriteRule ^blog/(.*)\.html$ "blog/$1" [R=301,L]
|
|
RewriteRule ^minecraft-stuff/?$ "projects" [R=301,L]
|
|
RewriteRule ^mc/?$ "projects" [R=301,L]
|
|
RewriteRule ^press(/.*)?$ "https://press.ellpeck.de$1" [R=301,L]
|
|
RewriteRule ^tinylife/?$ "https://tinylifegame.com" [R=301,L]
|
|
RewriteRule ^foefrenzy/?$ "https://store.steampowered.com/app/1194170/" [R=301,L]
|
|
RewriteRule ^actaddchangelog/?$ "http://ell.lt/aachangelog" [R=301,L]
|
|
RewriteRule ^actadddownload/?$ "http://ell.lt/aadl" [R=301,L]
|
|
RewriteRule ^actaddlicense/?$ "http://ell.lt/aalicense" [R=301,L]
|
|
RewriteRule ^actadd/?$ "http://ell.lt/aa" [R=301,L]
|
|
RewriteRule ^discord/?$ "http://ell.lt/discord" [R=301,L]
|
|
RewriteRule ^wishlist/?$ "http://ell.lt/wishlist" [R=301,L,NE]
|
|
RewriteRule ^reedsy/?$ "http://ell.lt/reedsy" [R=301,L]
|
|
RewriteRule ^sims4gallery/?$ "http://ell.lt/s4gallery" [R=301,L,NE]
|
|
|
|
# anchor redirects
|
|
RewriteRule ^projects/?$ "#projects" [R=301,L,NE]
|
|
RewriteRule ^social/?$ "#social" [R=301,L,NE]
|
|
RewriteRule ^about/?$ "#about" [R=301,L,NE]
|
|
RewriteRule ^blog/?$ "#blog" [R=301,L,NE]
|
|
RewriteRule ^support/?$ "#support" [R=301,L,NE]
|
|
RewriteRule ^💸/?$ "#support" [R=301,L,NE]
|