[英]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.