Web/main/.htaccess

37 lines
1.4 KiB
ApacheConf
Raw Normal View History

2021-07-15 05:25:49 +02:00
ExpiresActive On
ExpiresDefault A31536000
ExpiresByType text/html A600
2021-08-16 00:32:46 +02:00
ExpiresByType text/javascript A2592000
2021-08-16 00:42:35 +02:00
ExpiresByType application/javascript A2592000
Options +MultiViews -Indexes
2021-03-17 00:23:49 +01:00
ErrorDocument 404 /404.html
2019-10-20 01:51:06 +02:00
RewriteEngine On
RewriteBase /
2021-03-17 00:23:49 +01:00
# legacy redirects (for deleted stuff)
2022-05-21 15:30:57 +02:00
RewriteRule ^blog-(.*)$ "blog/$1" [R=301,L]
2022-10-10 15:20:59 +02:00
RewriteRule ^blog/(.*)\.html$ "blog/$1" [R=301,L]
2022-05-21 15:30:57 +02:00
RewriteRule ^minecraft-stuff/?$ "projects" [R=301,L]
RewriteRule ^mc/?$ "projects" [R=301,L]
2021-12-01 12:36:28 +01:00
RewriteRule ^press(/.*)?$ "https://press.ellpeck.de$1" [R=301,L]
RewriteRule ^tinylife/?$ "https://tinylifegame.com" [R=301,L]
2021-07-07 15:35:38 +02:00
RewriteRule ^foefrenzy/?$ "https://store.steampowered.com/app/1194170/" [R=301,L]
2022-12-01 17:25:52 +01:00
RewriteRule ^actaddchangelog/?$ "https://ell.lt/aachangelog" [R=301,L]
RewriteRule ^actadddownload/?$ "https://ell.lt/aadl" [R=301,L]
RewriteRule ^actaddlicense/?$ "https://ell.lt/aalicense" [R=301,L]
RewriteRule ^actadd/?$ "https://ell.lt/aa" [R=301,L]
RewriteRule ^discord/?$ "https://ell.lt/discord" [R=301,L]
RewriteRule ^wishlist/?$ "https://ell.lt/wishlist" [R=301,L,NE]
RewriteRule ^reedsy/?$ "https://ell.lt/reedsy" [R=301,L]
RewriteRule ^sims4gallery/?$ "https://ell.lt/s4gallery" [R=301,L,NE]
2021-03-17 00:23:49 +01:00
2021-09-18 00:57:36 +02:00
# anchor redirects
2022-05-21 15:30:57 +02:00
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]