امکان تغییر مسیر IP آدرس و زیر دامنه به دامنه فعال شده به پروتکل امن انتقال ابرمتن HTTPS امکانپذیر نیست.
با Error زیر مواجه میشم.
Warning: Potential Security Risk Ahead
Firefox detected a potential security threat and did not continue to 176.9.11.218. If you visit this site, attackers could try to steal information like your passwords, emails, or credit card details
Firefox detected a potential security threat and did not continue to 176.9.11.218. If you visit this site, attackers could try to steal information like your passwords, emails, or credit card details
کد: انتخاب همه
https://176.9.11.218
کد: انتخاب همه
https://176.9.11.218:443
کد: انتخاب همه
https://mail.pooeen.com
لطفا به آدرس دامنه زیر تغییر مسیر دهید.
کد: انتخاب همه
https://www.pooeen.com
کد: انتخاب همه
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteCond %{HTTP_HOST} ^176\.9\.11\.218
RewriteRule ^(.*)$ https://www.pooeen.com/$1 [R=301,L]
</IfModule>
کد: انتخاب همه
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
</IfModule>
کد: انتخاب همه
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP_HOST} ^pooeen\.com [OR]
RewriteCond %{HTTP_HOST} ^176\.9\.11\.218 [OR]
RewriteCond %{HTTP_HOST} ^mail\.pooeen\.com
RewriteRule ^(.*)$ https://www.pooeen.com/$1 [R=301,L]
</IfModule>
کد: انتخاب همه
htaccess - redirect - mod-rewrite - url-rewriting - https - ssl
سپاسگزارم