在线商店的目录或子域?
我们有一个域名,现在我们需要建立一个在线商店。对于搜索引擎和人们(易于记忆等)来说,哪个更好 - 目录 (site.com/shop/) 还是子域 (shop.site.com)?
We have a domain and now we need to setup an online store. Which is better for search engines and for people (easy to remember, etc.) - a directory (site.com/shop/) or a subdomain (shop.site.com)?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(8)
子域是最好的选择。易于记忆,组织良好(关于文件结构),并且在SEO方面没有缺点(许多跨国公司都使用它)
Subdomain is the best option. Easy to remember, well organised (regarding file structure), and has no disadvantages regarding SEO (many multinational companies use it)
在我看来,子域最好记住,但通常在这种情况下我们使用目录。
In my opinion a sub-domain is better to remember, but normally to this cases we use a directory.
您可以同时使用两者,只需重定向到其中之一即可。例如,如果您访问 shop.site.com,请从 site.com/shop/ 进行重定向。
就我个人而言,我更喜欢使用子域,因为它“感觉”更干净且更容易记住,但我不确定搜索引擎认为什么是最好的(如果他们实际上认为一个比另一个更好)!
You could use both, and just redirect to one of them. Like, if you go for shop.site.com put a redirect from site.com/shop/.
Personally i prefer to use a subdomain because it "feels" cleaner and easier to remember, but i am not sure what search engines think is the best (if they actually think one is better than another)!
我想分享我所知道的
子域与域不同。
当谈到它的页面排名时,页面权限 - 我建议最好拥有主域/
您听说过页面排名吗?它是赋予该特定页面的排名。我通常认为,与域名相比,子域名的页面排名改进会非常少。
例如 - 当其 www.example.com/product1 时,
主域的页面排名很快就会从 www.example.com 转移到 www.example.com/product1。
但是,当其product1.example.com
页面排名需要时间才能从主域www.example.com传递到product1.example.com
查看实时示例 -
http://demo.uniecommerce.com/(页面排名 - 0)
http://www.uniecommerce.com/demo.html(页面排名 - 3)
事实上 demo.uniecommerce.com 是第一个创建的,并且是第一个创建的。另一个是后来创建的。
I would like to share what i know,
Subdomain is not same as domain.
When coming to its Page rank & page authority - I suggest having main domain is best/
Have you heard about page rank, its the rank given to that particular page. I generally feel when its sub domain its improvement in page rank would be very less when compared to domain.
Eg - When its www.example.com/product1
The page rank of the main domain would pass from www.example.com to www.example.com/product1 soon.
But when its product1.example.com
Page rank would take time to get passed from main domain www.example.com to product1.example.com
Check out the live example -
http://demo.uniecommerce.com/ (Page Rank - 0)
http://www.uniecommerce.com/demo.html (Page rank - 3)
Infact demo.uniecommerce.com was the one created first & the other one was created later.
我个人更喜欢路径。另外,我确信普通人已经习惯了“www.something.tld”模式 - 这是日常生活中交流网址的常用方式。我敢打赌,大多数人不知道子域是什么,也不知道如何将其输入浏览器。
在我看来,组织论点并不重要,因为任何类型的文件结构都可以通过目录和子域来实现(至少在 Apache 中)。
I personally like paths much better. Also, I'm quite sure that normal people have become used to the "www.something.tld" pattern - it is the usual way of communicating a web address in everyday life. I would bet that the majority of people would not know what a subdomain is, or how to type it into a browser.
The organizing argument doesn't count in my opinion, as any kind of file structure can be achieved with directories and subdomains alike (at least in Apache).
store.site.com 是一个更好的解决方案。
一般来说,普通用户并不关心您的网址,他们只是在 Google 中输入“site”。
然后他们点击。
只要您的商店在网站上占据显着位置,就不会有问题。
苹果在这方面做得很好:
http://store.apple.com
子域名还可以让您的“销售”区分开来在大多数企业中,您的“内容”有不同的途径。
store.site.com is a MUCH better solution.
Generally regular users don't CARE about your URL, they just type in "site" into Google.
Then they click.
As long as your store has a prominent place on your site, it won't be a problem.
Apple does this very well:
http://store.apple.com
A subdomain also keeps your "sales" apart from your "content" which different avenues in most businesses.
我认为这也是服务器的问题。在某些情况下,比如博客,一台服务器必须保存很多dns,并为服务器做更繁重的处理,而且如果我们想更换服务器,我们如何将巨大的子域名带到其他服务器上?
I think it's also a matter of server. In some cases like blogs, a server has to save many dns and make heavier process for server, also if we want to change the server, how could we bring huge size of subdomains to other servers?
问题之一是如果您需要确保整个网站的安全,则需要通配符 SSL 证书,通配符 SSL 比其他证书更昂贵。什么子域都会更容易记住,但它在 SEO 方面有一些小缺点,搜索引擎将子域视为单独的域。
one of the problem is need of wildcard SSL certificate if you need to make your complete website secure, wildcard SSL is costlier than other certificates. what ever sub-domain will be easier to remember but it have some minor disadvantage in SEO, Search Engines consider sub-domain as a separate domain.