Redirect alltube.herokuapp.com to alltubedownload.net now that we have HTTPS

This commit is contained in:
Pierre Rudloff 2016-04-30 12:08:33 +02:00
parent 0da1d053d3
commit 43804eebad
1 changed files with 4 additions and 0 deletions

View File

@ -14,6 +14,10 @@ Addtype font/truetype .ttf
FileETag None
RewriteEngine On
RewriteCond %{HTTP_HOST} ^alltube\.herokuapp\.com$ [NC]
RewriteRule ^(.*)$ https://www.alltubedownload.net/$1 [R=301,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [QSA,L]