在子域的内部服务器错误 [英] internal server error in subdomains

查看:93
本文介绍了在子域的内部服务器错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我装窝preSS到我的主域名abcd.com。我的插件域名是fghi.com,当我尝试访问例如fghi.com/fdsf我看到内部服务器错误任何worng页面表单插件域。

I installed worpress to my main domain abcd.com. My addon domain name is fghi.com, when i try to access any worng page form addon domain for example fghi.com/fdsf i see internal server error.

我现在用的词preSS安装根目录下的.htaccess文件。这里是code:

I am using .htaccess file in root directory of wordpress installation. Here is code:

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

有人知道正确的解决方案?

anybody know the correct solution?

推荐答案

字preSS不能成功地从你的二级域名访问,因为圣言preSS安装站点的URL设置为一个地址。在你的情况,字preSS承认abcd.com作为网站的网址,因此,任何其他的URL,即使它可能指向正确的文件夹,将产生一个内部服务错误

Wordpress can't be successfully accessed from your secondary domain because the Wordpress installation site url is set to one address. In your case, Wordpress recognizes "abcd.com" as the site url, and therefore any other url, even though it may point to the correct folder, will cause an internal service error

这篇关于在子域的内部服务器错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆