# 我们可以聊聊SEO吗？

**URL:** https://meta.discourse.org/t/can-we-have-a-conversation-about-seo/223178
**Category:** Development
**Created:** [2022 年4 月 4 日 16:27 UTC](https://meta.discourse.org/t/can-we-have-a-conversation-about-seo/223178 "2022-04-04T16:27:14Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### 作者： ![stance455](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stance455/32/255345_2.png) [@stance455](https://meta.discourse.org/u/stance455)
#### 发布日期： [2022 年4 月 4 日 16:27 UTC](https://meta.discourse.org/t/can-we-have-a-conversation-about-seo/223178/1 "2022-04-04T16:27:15Z")

</div>

我最近才意识到 Discourse 为 Googlebot 提供了一个完全不同的网站版本。

…而且理所当然，[我刚试着看看](https://meta.discourse.org/t/paid-work-allow-search-engines-to-crawl-the-production-js-version/222933) Google 是否能渲染该网站的 JS 版本——显然不能（Google Search Console 中的截图渲染显示的是一个空白页面）。

虽然我们正在取得[一些不错的进展](https://meta.discourse.org/t/discourse-not-loading-on-legacy-browsers/221412/61?u=stance455)，但我想提及一些其他的关键 SEO 问题……

1. 页脚中的“Powered by discourse”——[Google 对小部件链接不太看好](https://developers.google.com/search/blog/2016/09/a-reminder-about-widget-links)——它也不会出现在 JS 版本中，这可能会被视为“伪装”。

2. 非 JS 版本中没有“推荐主题”。

3. 用户帐户页面在点击时是空白的，没有帖子或主题历史记录。诸如他们的“网站”之类的信息也不会显示。具有“信任”[级别 3 的用户将拥有其链接变成“follow”链接](https://blog.discourse.org/2018/06/understanding-discourse-trust-levels/)，并删除了 rel=“nofollow”——但如果 Google 看不到链接，那又有什么意义呢？（我指的是用户个人资料中的链接）

 ![Screen Shot 2022-04-04 at 7.25.33 PM](https://global.discourse-cdn.com/meta/original/3X/9/9/99ff8c339e804e379cf5f8bfe836251d036c7ffb.png)

请记住，Google 不介意你为它们提供一个非 JS 版本，只要它[“完全”与用户版本的内容相同](https://developers.google.com/search/docs/advanced/guidelines/hidden-text-links)（但它不是）。

---

<div class="post-metadata">

### 作者： ![Jagster](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagster/32/192154_2.png) [@Jagster](https://meta.discourse.org/u/Jagster)
#### 发布日期： [2022 年4 月 4 日 16:55 UTC](https://meta.discourse.org/t/can-we-have-a-conversation-about-seo/223178/2 "2022-04-04T16:55:39Z")

</div>

> [@stance455](#):
>
> 和用户版本的内容[“完全相同”](https://developers.google.com/search/docs/advanced/guidelines/hidden-text-links)

你的说法不属实，而且你的链接也没有这样说。可访问性问题和被禁止的行为是两件完全不同的事情。

此外，数百万个网站，包括几乎所有的 WordPress 安装，都证明你是错的。

还有更多 😉 你知道 Googlebot 如何处理 JS 和非 JS 内容吗？它有时会索引两者，但会使用 JS 版本并将该内容作为搜索结果提供。

Google 只是警告说，无法查看 JavaScript 的用户无法获取该内容，这并不好。但它从未因此受到惩罚。

所以，这个话题不是关于 SEO 的。它主要关乎基础知识。

---

<div class="post-metadata">

### 作者： ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### 发布日期： [2022 年4 月 4 日 17:22 UTC](https://meta.discourse.org/t/can-we-have-a-conversation-about-seo/223178/3 "2022-04-04T17:22:56Z")

</div>

请尽量将每个想法放在自己的主题中——像这样管理“大杂烩”主题非常困难。

以下是一些提供您提到的项目背景的主题：

> [@Googlebot is getting non-javascript version of the site](https://meta.discourse.org/t/googlebot-is-getting-non-javascript-version-of-the-site/222412?u=david):
>
> So I just noticed that Discourse serves a non-JS version of the site to Google… I’ve been using JS to set the sites title, meta description, canonical, etc and seems google is getting really good at rendering client-side javascript ( I’m referring to my regular site, not discourse ) Is there a way to disable this and not give google bot a specific version? …Also, discourse has a do-follow link there for itself “Powered by Discourse.” - Is there anything I can do about that? Edit 1 : I shoul…

> [@Suggested Topics not shown to web spiders](https://meta.discourse.org/t/suggested-topics-not-shown-to-web-spiders/29223?u=david):
>
> I was looking at the Topic Page on Lynx Text Browser to simulate how Google bot is viewing this page and what all links Google bot finds for crawling and interlinking purpose. Please look at the details below: Issue: Suggested Topics links are not getting rendered in text browser. Steps: Take any discourse url, I took a url from [try.discourse.org](http://try.discourse.org)[http://try.discourse.org/t/poll-whats-your-preferred-mobile-os/284](http://try.discourse.org/t/poll-whats-your-preferred-mobile-os/284) When we access it in any web browser, suggested topic are there: …

> [@Google Cache / Google Crawling does not include Suggested Topics](https://meta.discourse.org/t/google-cache-google-crawling-does-not-include-suggested-topics/63793):
>
> Hi all, Long time lurker and fan of Discourse. Yes, a huge fan so before I go down the SEO path I want to be clear this is not a criticism more of a suggestion. I have searched for this topic but could not find it discuss previously. I noticed that when Google caches a thread that only parts of the thread are cached with that being the main content. If you look at the cache of this URL: [https://community.coinbase.com/t/how-can-i-get-a-profit-and-loss-statement-showing-my-gains-over-the-past-2…](https://community.coinbase.com/t/how-can-i-get-a-profit-and-loss-statement-showing-my-gains-over-the-past-2-years/9484)

> [@Search Engine / No JavaScript version missing links](https://meta.discourse.org/t/search-engine-no-javascript-version-missing-links/22027?u=david):
>
> When browsing a discourse site ([meta.discourse.org](http://meta.discourse.org)) without JavaScript in the same way as it is presented to Googlebot several links are missing. Links to user profiles [image] Link to categories list from homepage Links to users activity from users page [image] Links to related topics at the bottom of a topic. Any actual activity on users activity/topics page: [Profile - sam - Discourse Meta](https://meta.discourse.org/users/sam/activity/topics) (yes this looks the same as the users page because it is, no different content.) [image] EDIT: T…

---

<div class="post-metadata">

### 作者： ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### 发布日期： [2022 年4 月 4 日 17:23 UTC](https://meta.discourse.org/t/can-we-have-a-conversation-about-seo/223178/4 "2022-04-04T17:23:02Z")

</div>


