2012-01-05 53 views
0

是否有可能在同上 - MODx上實現SEF分頁?如何做到這一點 - 在腳本/ nginx的配置(或任何人知道htaccess的解決方案)如何實現SEF分頁(同上) - MODx?

什麼意思.. 這是蒙山文章

/articles.php

/articles.php?start=列表頁面10

....

所以結果應該是 /articles.php/start/10 或類似的東西

並實現正確的重定向到SEF

我非常感謝你提前。

+0

的http://論壇。 modx.com/thread/37914/seo-friendly-pagination-with-getpage – 2012-02-09 08:34:31

+0

http://community.modx-cms.ru/blog/questions/2691.html – 2012-02-09 08:34:43

+0

http://community.modx-cms.ru/博客/問題/ 1596.html – 2012-02-09 08:35:52

回答

1

如果您打算使用Ditto,則無需修改代碼段代碼即可根據需要設置分頁,但無法做到這一點。

但是,我認爲/articles.php/start/10不會比原始搜索更友好,因爲'start'和'10'都與這些頁面上的內容無關。在這種情況下,谷歌和其他搜索引擎肯定能夠區分具有不同網址參數的網頁,但是如果這仍然是一個問題,您可能更適合探索另一種創建列表的方式。

看一看這裏的一些有益的啓示: http://googlewebmastercentral.blogspot.com/2011/09/pagination-with-relnext-and-relprev.html http://www.seomoz.org/blog/pagination-best-practices-for-seo-user-experience

+0

非常感謝。我會考慮它。 – 2012-01-06 14:05:36