admin管理员组文章数量:1317906
I've been installing wordpress on a subdomain of an already existing static website www.example
for my friend. I have installed it correctly on a subdomain www.sub.example
, then he asked me to install some custom plugin of his another friends making. I wasn't able to install it through a panel and when I uploaded it to plugins
file through ftp it was not visible in the panel, so I suggested him that there might be something wrong with the plugin.
Today he contacted me and said, that he has called (so he cannot copy paste me the conversation) tech uspport of the website host (godaddy) and suppousedly they told him that wordpress cannot be installed on a subdomain of an already exisiting static website, because there might be some code confilcts. I'm sure I have installed it correctly as I have done it many times before, also on subdomains, but I'm no expert on serwer side issues.
QUESTION
Is this true that I can't install wordpress on a subdomain, if there is a static website on a main domain? If it's true, are there any workaround?
I've been installing wordpress on a subdomain of an already existing static website www.example
for my friend. I have installed it correctly on a subdomain www.sub.example
, then he asked me to install some custom plugin of his another friends making. I wasn't able to install it through a panel and when I uploaded it to plugins
file through ftp it was not visible in the panel, so I suggested him that there might be something wrong with the plugin.
Today he contacted me and said, that he has called (so he cannot copy paste me the conversation) tech uspport of the website host (godaddy) and suppousedly they told him that wordpress cannot be installed on a subdomain of an already exisiting static website, because there might be some code confilcts. I'm sure I have installed it correctly as I have done it many times before, also on subdomains, but I'm no expert on serwer side issues.
QUESTION
Is this true that I can't install wordpress on a subdomain, if there is a static website on a main domain? If it's true, are there any workaround?
Share Improve this question asked Jun 13, 2018 at 11:17 aMJayaMJay 1272 silver badges9 bronze badges2 Answers
Reset to default 2NO..
By static i think you mean a standard (simple) HTML site.
wordpress cannot be installed on a subdomain of an already exisiting static website, because there might be some code confilcts.
That's ridiculous....
I can't imagine GoDaddy gave this answer, contact them yourself.
Regards, Bjorn
I think the code conflicts they are referring to is the server directives. A possible workaround, you may be able to get it to work by defining multiple VirtualHost
directives on your server and ensuring your hosting environment matches your directory structure.
I can't think of any other "code conflict" that could happen (at least with WP - plugins may be a different story) so long as WordPress knows where it's DocumentRoot
is, it should run just fine.
Example:
<!-- Root of your website -->
<VirtualHost *:80> DocumentRoot "~/www/html/" </VirtualHost>
<!-- Root of subdomain. Install WordPress here -->
<VirtualHost *:80> DocumentRoot "~/www/html/subdomain/" </VirtualHost>
本文标签: pluginsInstalling wordpress on a subdomain of an already existing static website
版权声明:本文标题:plugins - Installing wordpress on a subdomain of an already existing static website 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742031042a2416445.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论