子域重定向到阻止的HTTPS wordpress域

时间:2015-09-09 06:40:19

标签: wordpress .htaccess redirect ssl https

我有一个名为的子域名 https://subdomain.example.com/。 每当我使用subdomain输入HTTPS时,我都会获得默认Site does not exist page。主域www.example.com正在使用Wordpress,每当我尝试使用HTTPS进入该页面时,我都会被定向到同一页面。 但是,网址不会改变!

我为以下*.example.com授权使用通配符SSL,我希望同时拥有subdomain& standard domain使用HTTPS。

问题是: 为什么子域上的https://而不是http://会将我重定向到默认的空白页?我该如何解决这个问题?

图像显示我对默认页面和正确页面的含义。

信息:主域使用Wordpress。

Image example of page

这是我的.htaccess档案

#AddHandler application/x-httpd-php-5.2 .php
#AddType application/x-httpd-php .php
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

0 个答案:

没有答案
相关问题