简体   繁体   English

在CPanel中安装Wordpress的位置?

[英]Where to install Wordpress in CPanel?

I'm a newbie on hosting blogs. 我是托管博客的新手。 I have a shared hosting account on HostGator that uses cpanel, and I want to install multiple wordpress sites. 我在HostGator上有一个使用cpanel的共享主机帐户,我想安装多个wordpress站点。

I have my wp sites under /home/username/public_html/, so each site has its own directory under public_html. 我的/ home / username / public_html /下有我的wp站点,因此每个站点在public_html下都有自己的目录。 The problem is for my primary domain, the one I got from the hosting. 问题出在我的主域,即我从主机获得的域。 It was installed under the public_html itself, so my other sites were accessible from the primary site, like http://www.primarysite/other-site . 它安装在public_html本身下,因此我可以从主站点访问我的其他站点,例如http://www.primarysite/other-site Is this the typical structure of hosting multiple wp sites on shared hosts? 这是在共享主机上托管多个wp站点的典型结构吗?

Is it ok to have my other sites accessible under the primary site? 可以在主站点下访问我的其他站点吗?

A detailed explanation would be very useful, or just point me to some good tutorials/articles. 详细解释非常有用,或者只是指向一些好的教程/文章。 Thanks again! 再次感谢!

你需要为public_html下的其他wordpress网站创建不同的文件夹/目录,是的,你可以访问你的其他网站,如www.primarysite.com/othersite only

Hostgator cPanel包括Softaculous或Fantastico自动安装程序,它们都包括Wordpress MU(wordpress多站点/多用户)按照说明操作,您只需单击一下即可安装多个wordpress站点;)

yes you can acces your other sites under your primary domain. 是的,您可以访问主域名下的其他网站。 For that you have to install wordpress under different directories. 为此,你必须在不同的目录下安装wordpress。

I think you may be aware of addon domain feature. 我想你可能知道插件域功能。 Try using the addon domain feature in your cPanel . 尝试在cPanel中使用插件域功能。

  • You have two domains mysite.com and my-other-site.com. 您有两个域名mysite.commy-other-site.com。
  • You want the two domains to be totally separate/independent websites. 您希望这两个域是完全独立/独立的网站。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM