多个域链接到一个现有域
我有一个现有网站,几乎 85% 的内容都是数据库驱动的,现在我想要更多 50 个这样的网站。我有一个想法,使用此网站作为基本网站并从不同的域访问此网站。我可以为每个域保留不同的数据库。所有这些网站都作为独立网站运行和运行,但事实上,这些网站实际上都使用具有自己数据库的单个网站。
现在这是一个可行的想法吗?这种方法的优点和缺点是什么?是否存在 Google 屏蔽这些网站的问题?
我提供了另一种选择,即保留站点的集中数据库并将代码保存在各自的域中。
我很困惑,因为我也是 PHP 和 Web 开发的新手。
我在这里发现了一些突破 .htaccess RewriteRule:两个域使用同一服务器和目录 现在我必须看看谷歌问题
谢谢
I have an existing site almost 85% of its contents are database driven, Now I want 50 more such sites. I have an Idea of using this site as base site and access this site from different domains. I can keep database different for each domain. All of these websites behave and work as independent sites , except the fact, that these all is actually using a single site with their own database .
Now Is this a feasible idea ? what are the Pros and cons of this approach ? Is there an issue of Google blocking these sites arise ?
I have given one more option of keeping centralized database for sites and keep there code in respective domains.
I am confused as am also a newbie in PHP and web development.
I found some breakthrough here .htaccess RewriteRule: two domains using same server and directory
now I have to see about Google issue
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
一个很大的缺点是评论的重复(如评论中提到的)。
如果
domain1.com
包含与domain2.com
相同或几乎相同的内容,Google 会对这两个网站进行处罚,从而导致评级较低。请记住,如果您在网站的多个页面上复制内容,也会发生同样的情况。 (domain1.com/page1
与domain1.com/page2
具有相同的内容)。如果这 50 个站点都有独特的内容,这就不成问题。
A big con is the duplication of comments (as mentioned in the comments).
If
domain1.com
has contains the same, or all most the same content asdomain2.com
Google gives both sites a penalty which will result in in lower rating. Keep in mind that the same happens if you duplicate content over multiple pages in a website. (domain1.com/page1
having the same content asdomain1.com/page2
).If the 50 site have unique contents this won't be a problem.