From 4b9da59c96edb4077c4578c687ea0eaa73021434 Mon Sep 17 00:00:00 2001 From: Abhorrent_Anger Date: Sat, 26 Jan 2019 16:04:47 +0200 Subject: [PATCH] Subdomain full redirection --- .htaccess | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.htaccess b/.htaccess index 5245405..3f0ebd8 100644 --- a/.htaccess +++ b/.htaccess @@ -2,5 +2,5 @@ Options -Indexes RewriteEngine On RewriteBase / -RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC] -RewriteRule ^(.*)$ http://%1/$1 [R=301,L] +RewriteCond %{HTTP_HOST} !^pube\.tk$ [NC] +RewriteRule ^(.*)$ https://pube.tk/$1 [R=301,L]