Apache's Pseudo static Rule. htaccess Implementation of 301 Jump Method
<IfModule mod_rewrite.c> RewriteEngine On RewriteBase / Order Deny,Allow Deny from 47.114.182.24 RewriteCond %{HTTP_HOST} ^toyean.com [NC] RewriteRule ^(.*)$ https://www.toyean.com/ $1 [L,R=301] RewriteCond %{SERVER_PORT} !^ 443$ RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [L,R=301] RewriteCond %{REQUEST_FILENAME} !- f RewriteCond %{REQUEST_FILENAME} !- d RewriteRule . /index.php [L] </IfModule>
Forbidden
Summary of the external part:
RewriteEngine On RewriteCond %{HTTP_HOST} ^toyean.com [NC] RewriteRule ^(.*)$ https://www.toyean.com/ $1 [L,R=301]
RewriteEngine On RewriteCond %{HTTP_HOST} ^www.toyean.com [NC] RewriteRule ^(.*)$ https://toyean.com/ $1 [L,R=301]
RewriteEngine On RewriteCond %{HTTP_HOST} ^www.toyean.com [NC] RewriteRule ^(.*)$ https://www.wulongmao.com/ $1 [L,R=301]