The repository for my website https://ellpeck.de/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

31 lines
1.4 KiB

  1. Options -Indexes
  2. RewriteEngine On
  3. RewriteBase /
  4. RewriteCond %{REQUEST_FILENAME}.html -f
  5. RewriteRule (.*) $1.html [L]
  6. RewriteRule ^discord/?$ "https://discord.gg/Uy2ZM9X" [R=301,L]
  7. RewriteRule ^actaddchangelog/?$ "https://github.com/Ellpeck/ActuallyAdditions/blob/master/update/changelog.md" [R=301,L]
  8. RewriteRule ^actadddownload/?$ "https://minecraft.curseforge.com/projects/actually-additions/files" [R=301,L]
  9. RewriteRule ^actaddlicense/?$ "https://github.com/Ellpeck/ActuallyAdditions/blob/master/LICENSE.md" [R=301,L]
  10. RewriteRule ^actadd/?$ "https://minecraft.curseforge.com/projects/actually-additions" [R=301,L]
  11. RewriteRule ^projects/?$ "https://ellpeck.de/#projects" [NE,R=301,L]
  12. RewriteRule ^impressum/?$ "https://ellpeck.de/#impressum" [NE,R=301,L]
  13. RewriteRule ^privacy/?$ "https://ellpeck.de/#privacy" [NE,R=301,L]
  14. RewriteRule ^mc/?$ "https://ellpeck.de/minecraft-stuff" [R=301,L]
  15. RewriteRule ^minecraft-stuff/?$ "https://ellpeck.de/projects" [R=301,L]
  16. RewriteRule ^yt/?$ "https://www.youtube.com/c/ellpeck" [R=301,L]
  17. RewriteRule ^wishlist/?$ "https://www.amazon.de/hz/wishlist/ls/LZO9Y2Z3VJ5Q?&sort=default" [R=301,L]
  18. RewriteRule ^commissions/?$ "https://ellpeck.de/#commissions" [NE,R=301,L]
  19. RewriteRule ^fftranslate/?$ "https://poeditor.com/join/project/ElzC23ecB6" [R=301,L]
  20. ErrorDocument 404 /404.html
  21. <FilesMatch "^(blog|sitemap|feed|atom|rss)">
  22. ExpiresActive On
  23. ExpiresDefault A1
  24. Header append Cache-Control must-revalidate
  25. </FilesMatch>