~ben/web

ae1c0d9ae11dfdf02d7199ccda656a089992ab88 — Ben Sima 11 months ago 3fa4e7b
add htaccess with rewrite rules for old resume links
1 files changed, 17 insertions(+), 0 deletions(-)

A .htaccess
A .htaccess => .htaccess +17 -0
@@ 0,0 1,17 @@
AddDefaultCharset UTF-8
Header unset ETag
FileETag None

Options +FollowSymLinks -MultiViews
# Turn mod_rewrite on
RewriteEngine On
RewriteBase /

# https & www always
RewriteCond %{HTTP_HOST} ^bsima.me [NC]
RewriteRule ^(.*)$ https://www.bsima.me/$1 [R=301,L]
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.bsima.me/$1 [R,L]

Redirect "/resume/" "/resume.html"
Redirect "/resume" "/resume.html"
\ No newline at end of file