简体   繁体   中英

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.

I have my wp sites under /home/username/public_html/, so each site has its own directory under 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 . Is this the typical structure of hosting multiple wp sites on shared hosts?

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.

I think you may be aware of addon domain feature. Try using the addon domain feature in your cPanel .

  • You have two domains mysite.com and my-other-site.com.
  • You want the two domains to be totally separate/independent websites.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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