Skip to content

Commit

Permalink
Update .htaccess
Browse files Browse the repository at this point in the history
The redirect for .net, .org, .com, www., is now set up in sites-available on the apache server including http to https. This gives us more flexibility with the 301 redirects especially when we start using sub domains (talk.peercoin.net, etc.). Redirects in htaccess file are no longer needed.
  • Loading branch information
mal315 committed Dec 1, 2016
1 parent 5c0e11b commit a4b8fc3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .htaccess
Expand Up @@ -4,12 +4,12 @@ RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.php -f
RewriteRule ^(.*)$ $1.php

# HTTP Domain Redirects
# HTTP Domain Redirects (Now using "Redirect permanent / https://peercoin.net/" in Apache's VirtualHost with aliases for net com org)
# RewriteCond %{HTTP_HOST} !^peercoin\.net [NC]
# RewriteCond %{HTTP_HOST} !^$
# RewriteRule ^/(.*) http://peercoin.net/$1 [L,R=301]

# HTTP to HTTPS rewrite
# HTTP to HTTPS rewrite (Now using "Redirect permanent / https://peercoin.net/" in Apache's VirtualHost with aliases for net com org)
# RewriteCond %{HTTPS} off
# RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

Expand Down

0 comments on commit a4b8fc3

Please sign in to comment.