Skip to content

Commit

Permalink
chore: Remove redirect for live site
Browse files Browse the repository at this point in the history
  • Loading branch information
darcywong00 committed Nov 15, 2023
1 parent a80a2f4 commit b6e0436
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions .htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,6 @@ DirectorySlash off
RewriteEngine on
RewriteBase /

# Redirect http://help.keyman.com to https://help.keyman.com,
# but only if on a live site (help.keyman.com) and not
# matching `/.well-known/(.*)$` (for Let's Encrypt)
<If "%{REQUEST_SCHEME} == 'http' && %{HTTP_HOST} == 'help.keyman.com' && %{REQUEST_URI} !~ m#^/.well-known/(.*)$#" >
Redirect "/" "https://help.keyman.com"
</If>

# Custom error messages (need to pass the original request)
ErrorDocument 404 /_includes/errors/404.php?uri=%{REQUEST_URI}

Expand Down

0 comments on commit b6e0436

Please sign in to comment.