最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

installation - Multiple WordPress sites installs sharing the same database but with different content and domains

programmeradmin1浏览0评论

I was wondering if it is possible to have multiple WordPress websites installed using the same database and database user.

For example, I have site 1 and site 2 - www.site1 and www.site2 respectively. Both will have different content. Can I install both sites to share the same database and database user? Assuming I am unable to create a db and user for each website.

I was wondering if it is possible to have multiple WordPress websites installed using the same database and database user.

For example, I have site 1 and site 2 - www.site1 and www.site2 respectively. Both will have different content. Can I install both sites to share the same database and database user? Assuming I am unable to create a db and user for each website.

Share Improve this question asked Aug 17, 2015 at 6:08 Calvin TCalvin T 11 bronze badge
Add a comment  | 

2 Answers 2

Reset to default 1

Yes You can do it.

You use two different prefixes for both sites in database.

You can use WordPress multisite

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论