From 43804eebad99576b516a92115862460947b803a0 Mon Sep 17 00:00:00 2001 From: Pierre Rudloff Date: Sat, 30 Apr 2016 12:08:33 +0200 Subject: [PATCH] Redirect alltube.herokuapp.com to alltubedownload.net now that we have HTTPS --- .htaccess | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.htaccess b/.htaccess index 29ed68b..8fc5b69 100644 --- a/.htaccess +++ b/.htaccess @@ -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]