Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cherryymerryy committed May 22, 2023
1 parent ff1404f commit b916823
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ RewriteCond %{REQUEST_fileNAME} !-d
RewriteCond %{REQUEST_fileNAME} !-f
RewriteRule (.*) /$1.html [L]

RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.html\ HTTP/
RewriteRule ^index\.html$ https://reeversee.github.io/ [R=301,L]
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /home\.html\ HTTP/
RewriteRule ^home\.html$ https://reeversee.github.io/ [R=301,L]

Redirect 301 /index https://reeversee.github.io
Redirect 301 /home https://reeversee.github.io

0 comments on commit b916823

Please sign in to comment.