问题原文
原帖链接 · bribble · CC BY-SA 3.0
I am building a site that lists shops. Each shop page has two tabs: shop info and reviews. It's one page, with jQuery hiding/showing the right portion of the content. From a purely SEO point of view, what is the best way to assign URLs to those two tabs?
example.com/shopX/infoandexample.com/shopX/reviewsexample.com/shopX#infoandexample.com/shopX#reviews- or should I simply have 1 URL
example.com/shopX, which shows the shop info, and has the reviews accessible through clicking the 'reviews' tab
I know that up to 2016, Google preferred (1), since content hidden under tabs was not really indexed. Currently, it does index content under tabs, which may imply (1) is punished as the two URLs actually serve the same content - just with a different portion visible - making (3) the better option. Lastly, (2) looks a wee bit uglier, but I'm really considering SEO only :)
What's the proper 2017 answer to this question?
已采纳解答
原帖链接 · TopQnA · CC BY-SA 3.0
I would say you should consider the usability aspect greatly.
SEO:
- The only time you may like to have separate URL for info and review when you would like to monitor the performance of one vs other.
- In general info and review can sit in the same page and generally you will not have much ranking in separate review page, so i would say keep it in the same page with anchor link.
- Google does relatively good job reading jQuery content (Hide / Show) etc.
Also, you don't wanna have info page with very limited info and a separate page for review (Load time involved).
So, there is not much issue as far as SEO ins concerned and i would encourage you to think about UI and usability aspect more here.
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
