如何实现SEF分页(同上)-MODx?
是否可以在 Ditto - MODx 上实现 SEF 分页?如何做到这一点 - 在脚本/nginx 配置中(或任何人都知道 htaccess 解决方案)
意味着什么.. 它的页面包含文章列表
/articles.php
/articles.php?start=10
....
所以结果应该是 /articles.php/start/10 或类似的东西
并实现正确重定向到 SEF
我提前非常感谢你。
Is it possible realize SEF pagination on Ditto - MODx? How do it - in scripts / nginx configuration (or anyone know htaccess solution )
What means..
It's pages whith list of articles
/articles.php
/articles.php?start=10
....
So in result should be
/articles.php/start/10
or something like it
And realize correct redirect to SEF
I'm very grateful to you in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您要使用 Ditto,则如果不修改代码片段以根据需要设置分页,则无法执行此操作。
但是,我认为 /articles.php/start/10 并不比原始版本更适合搜索,因为“start”和“10”与这些页面上的内容没有任何关系。在这种情况下,Google 和其他搜索引擎当然能够区分具有不同 url 参数的页面,但是如果这仍然是一个问题,您最好探索不同的方式来创建列表。
请看这里,了解一些有用的见解:
http://googlewebmastercentral.blogspot.com/2011/09 /pagination-with-relnext-and-relprev.html
http://www.seomoz.org/blog/pagination-best-practices-for-seo-user-experience
If you're going to use Ditto, you won't be able to do this without modifying the snippet code to set up paging as you require.
However, I would argue that /articles.php/start/10 is no more search friendly than the original as both 'start' and '10' are in no way related to the content on those pages. Google and the other search engines are certainly capable of distinguishing between pages with different url parameters in this case, however if this remains an issue you might be better off exploring a different way to create your listings.
Have a look here for some useful insights:
http://googlewebmastercentral.blogspot.com/2011/09/pagination-with-relnext-and-relprev.html
http://www.seomoz.org/blog/pagination-best-practices-for-seo-user-experience