简体   繁体   English

我可以在两个域上拥有两个完全相同的网站,理想情况下是从同一Wordpress运行吗?

[英]Can I have two identical websites over two domains, ideally running from same Wordpress?

Strange question. 奇怪的问题。 Basically I want to test out the success of two possible domain names, so I want to run a website duplicated over two domains. 基本上,我想测试两个可能的域名是否成功,因此我想运行一个在两个域上重复的网站。 Is that possible? 那可能吗?

So, for example, both WEBSITE1.com and WEBSITE2.com would have the exact same content coming from the same wordpress set up. 因此,例如,WEBSITE1.com和WEBSITE2.com都将具有来自相同wordpress设置的完全相同的内容。

I know that a redirection is possible but that reverts to a different domain, which is not what i want. 我知道重定向是可能的,但它会还原到其他域,这不是我想要的。

Thanks! 谢谢! Ben

WordPress includes the ability to create a network of sites by using the multisite feature. WordPress包括使用多站点功能创建站点网络的功能。 This article contains instructions for creating a multisite network. 本文包含有关创建多站点网络的说明。

check below this link for how to set up multidomain on WordPress https://codex.wordpress.org/Create_A_Network 检查此链接下面的内容,了解如何在WordPress https://codex.wordpress.org/Create_A_Network上设置多域

在此处输入图片说明

Why not? 为什么不? In wp-config.php add check for domain name and load different database credentials. wp-config.php添加域名检查并加载不同的数据库凭据。

The problem will be when adding content. 问题将在添加内容时出现。

Yes, you can: https://codex.wordpress.org/Installing_Multiple_Blogs#Single_Database 是的,您可以: https : //codex.wordpress.org/Installing_Multiple_Blogs#Single_Database

Ps. 附言 You will get duplicated content issue with Google if you index both sites in Google. 如果您在Google中将两个网站都编入索引,则会与Google出现重复的内容问题。

暂无
暂无

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

相关问题 两个网站在Wordpress中具有相同的管理面板 - Two Websites with the same administration Panel In Wordpress 两个域指向Wordpress的同一个实例 - Two domains pointing at same instance of Wordpress 一个数据库,相同的内容,两个wordpress站点,不同的结构? 或另外两个网站具有相同内容的解决方案? - one database, same content, two wordpress sites, different structure? or another solution to have 2 websites with the same content? 两个wordpress网站和数据库 - Two wordpress websites and databases 在两个不同的WordPress网站上共享相同的数据 - Share same data across two different WordPress websites 让两个网站使用相同的WordPress数据库创建移动版本 - Having two websites use the same WordPress database to create a mobile version 我有两个网站域,即A和B。是否可以切换这些域,以使A的内容移至B,反之亦然? - I have two website domains, A and B. Can I switch the domains so that A's content moves to B, and vice versa? 如何在两个 wordpress 网站之间传递值? - How do I pass values between two wordpress websites? WordPress:如何创建共享同一数据库的两个博客? - WordPress: How can I create two blogs sharing the same database? 我有一个 wordpress 网站,我想从我所有的帖子中删除最后两行 记住行与任何插件或解决方案都不相同? - I have a wordpress site and i want to delete last two lines from all my posts remember lines are not same any plugin or solution?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM