RewriteEngine On
RewriteCond %{HTTP_HOST} ^asique.me$ [OR]
RewriteCond %{HTTP_HOST} ^www.asique.me$
RewriteRule ^(.*)$ https://asique.net/$1 [R=301,L]
Redirect Type
301 Permanent Redirect
307 Temporary Redirect
Web Developer, Coding is life here…
RewriteEngine On
RewriteCond %{HTTP_HOST} ^asique.me$ [OR]
RewriteCond %{HTTP_HOST} ^www.asique.me$
RewriteRule ^(.*)$ https://asique.net/$1 [R=301,L]
301 Permanent Redirect
307 Temporary Redirect
Create new file named “.htaccess” in the folder with this Content
AuthName "Password Protected!"
AuthType Basic
AuthUserFile /home/cpanel_user_name/public_html/folder_name/.htpasswd
require valid-user
*Change cpanel_user_name & folder_name
Create new file named “.htpasswd” in the same folder with this Content (Username:Password)
asiq:12345