26 个回复 | 最后更新于 2016-08-19
2015-09-11   #20

不是敏感问题,应该是你这个问题之前很多人问过,你又不去搜索有没有类似问题,就被他们关闭了。

#19 @大孟 :

回复#18 @lincanbin :

我好像问了个敏感问题,直接被关闭回复了.

2015-09-11   #21

回复#20 @lincanbin :

问之前特意搜索过的,没有相关话题才问的

2015-09-11   #22

回复#21 @大孟 :

从他们的回复来看,显然应该是有相关话题的,大概在GitHub上有?

2015-09-11   #23

回复#22 @lincanbin :

就在贴出来的那段里,是https://github.com/flarum/core/issues/189

------

Flarum renders very basic versions of the discussion list and discussions (within <noscript> tags), which are going to be specifically optimised for search engines. This all takes place in Flarum\Forum\IndexAction and DiscussionAction, which extend Support\ClientAction and use Flarum\Support\ClientView. The actions get data from the Flarum's API and pass it onto content views (discussion.blade.php and index.blade.php). I'm happy to explain more if need be because it can get pretty confusing.

Put simply, the code is a mess. It needs to be rethought and refactored. A few thoughts:

  • We probably want to use or build some kind of library that makes it easier to work with a JSON-API document payload.

  • Similarly, we probably want to use or build some kind of library that will help generate URLs/query strings/etc.

Only after doing this will we be able to effectively optimise the SEO content and do the following:


2015-09-12   #24

回复#23 @betw :

Put simply, the code is a mess. It needs to be rethought and refactored.

里面这么说倒是没错,但是Flarum如果真要为SEO而refactored,那注定是个漫长而痛苦的过程。

2016-08-18   #25

回复#24 @lincanbin :

Flarum 对 Google 的 SEO 做的还不错,只是百度太另类

2016-08-19   #26

回复#25 @justjavac :

不对啊,百度那个才是主流。

登录后方可回帖

登 录
信息栏

Carbon Forum是一个基于话题的高性能轻型PHP论坛

下载地址:Carbon Forum v5.9.0
QQ群:12607708(QQ我不常上)

donate

手机支付宝扫描上方二维码可向本项目捐款

粤公网安备 44030602003677号
粤ICP备17135490号

Loading...