bbPress米点站 » 主题:Custom Post Type Permalinks – bbPress固定链接更改插件 http://www.bbpress.me/forums/topic/%E5%88%86%E5%89%B2%EF%BC%9A%E5%A6%82%E4%BD%95%E5%AE%9A%E4%B9%89bbpress%E5%B8%96%E5%AD%90%E7%9A%84url/feed/ Sat, 04 May 2013 20:21:20 +0000 http://bbpress.org/?v=2.2.3 http://www.bbpress.me/forums/topic/%e5%88%86%e5%89%b2%ef%bc%9a%e5%a6%82%e4%bd%95%e5%ae%9a%e4%b9%89bbpress%e5%b8%96%e5%ad%90%e7%9a%84url/#post-1532 <![CDATA[Custom Post Type Permalinks – bbPress固定链接更改插件]]> http://www.bbpress.me/forums/topic/%e5%88%86%e5%89%b2%ef%bc%9a%e5%a6%82%e4%bd%95%e5%ae%9a%e4%b9%89bbpress%e5%b8%96%e5%ad%90%e7%9a%84url/#post-1532 Thu, 18 Apr 2013 01:25:19 +0000 realhood @cynmnlove @chouqiu @admin

插件 Custom Post Type Permalinks – bbPress固定链接更改插件

可到官网下载,也可在二楼下载。
http://wordpress.org/support/plugin/custom-post-type-permalinks

设置很简单,这插件找了一早上,简单测试了下,没啥问题

]]>
http://www.bbpress.me/forums/topic/%e5%88%86%e5%89%b2%ef%bc%9a%e5%a6%82%e4%bd%95%e5%ae%9a%e4%b9%89bbpress%e5%b8%96%e5%ad%90%e7%9a%84url/#post-1534 <![CDATA[回复:分割:如何定义BBPRESS帖子的URL]]> http://www.bbpress.me/forums/topic/%e5%88%86%e5%89%b2%ef%bc%9a%e5%a6%82%e4%bd%95%e5%ae%9a%e4%b9%89bbpress%e5%b8%96%e5%ad%90%e7%9a%84url/#post-1534 Thu, 18 Apr 2013 01:33:17 +0000 realhood 加个前缀更美观,自定义呗,随便加
比如post-%post_id%

插件下载

]]>
http://www.bbpress.me/forums/topic/%e5%88%86%e5%89%b2%ef%bc%9a%e5%a6%82%e4%bd%95%e5%ae%9a%e4%b9%89bbpress%e5%b8%96%e5%ad%90%e7%9a%84url/page/2/#post-1536 <![CDATA[回复:分割:如何定义BBPRESS帖子的URL]]> http://www.bbpress.me/forums/topic/%e5%88%86%e5%89%b2%ef%bc%9a%e5%a6%82%e4%bd%95%e5%ae%9a%e4%b9%89bbpress%e5%b8%96%e5%ad%90%e7%9a%84url/page/2/#post-1536 Thu, 18 Apr 2013 02:43:28 +0000 管理员 @realhood
谢谢分享

]]>
http://www.bbpress.me/forums/topic/%e5%88%86%e5%89%b2%ef%bc%9a%e5%a6%82%e4%bd%95%e5%ae%9a%e4%b9%89bbpress%e5%b8%96%e5%ad%90%e7%9a%84url/#post-1611 <![CDATA[回复:Custom Post Type Permalinks – bbPress固定链接更改插件]]> http://www.bbpress.me/forums/topic/%e5%88%86%e5%89%b2%ef%bc%9a%e5%a6%82%e4%bd%95%e5%ae%9a%e4%b9%89bbpress%e5%b8%96%e5%ad%90%e7%9a%84url/#post-1611 Tue, 23 Apr 2013 04:36:49 +0000 zhuanquan @realhood @admin
我在想,如果把”/”换成”-”,这样对于SEO也是有帮助的
就比如本主题的URL:
http://www.bbpress.me/forums/topic/%E5%88%86%E5%89%B2%EF%BC%9A%E5%A6%82%E4%BD%95%E5%AE%9A%E4%B9%89bbpress%E5%B8%96%E5%AD%90%E7%9A%84url/
用插件换成id之后就变成:
http://www.bbpress.me/forums/topic/1532/
但是如何变成这样的呢?
http://www.bbpress.me/forums-topic-1532.html
我觉得后续bbPress会放出的吧,毕竟一直在更新~

]]>
http://www.bbpress.me/forums/topic/%e5%88%86%e5%89%b2%ef%bc%9a%e5%a6%82%e4%bd%95%e5%ae%9a%e4%b9%89bbpress%e5%b8%96%e5%ad%90%e7%9a%84url/#post-1649 <![CDATA[回复:Custom Post Type Permalinks – bbPress固定链接更改插件]]> http://www.bbpress.me/forums/topic/%e5%88%86%e5%89%b2%ef%bc%9a%e5%a6%82%e4%bd%95%e5%ae%9a%e4%b9%89bbpress%e5%b8%96%e5%ad%90%e7%9a%84url/#post-1649 Sat, 27 Apr 2013 06:50:43 +0000 fake @realhood 请问下这个是怎么安装 新手求教

]]>
http://www.bbpress.me/forums/topic/%e5%88%86%e5%89%b2%ef%bc%9a%e5%a6%82%e4%bd%95%e5%ae%9a%e4%b9%89bbpress%e5%b8%96%e5%ad%90%e7%9a%84url/#post-1650 <![CDATA[回复:Custom Post Type Permalinks – bbPress固定链接更改插件]]> http://www.bbpress.me/forums/topic/%e5%88%86%e5%89%b2%ef%bc%9a%e5%a6%82%e4%bd%95%e5%ae%9a%e4%b9%89bbpress%e5%b8%96%e5%ad%90%e7%9a%84url/#post-1650 Sat, 27 Apr 2013 08:18:59 +0000 管理员 @fake
跟装wordpress插件一样安装,在wordpress后台直接本地上传安装即可。

]]>
http://www.bbpress.me/forums/topic/%e5%88%86%e5%89%b2%ef%bc%9a%e5%a6%82%e4%bd%95%e5%ae%9a%e4%b9%89bbpress%e5%b8%96%e5%ad%90%e7%9a%84url/#post-1652 <![CDATA[回复:Custom Post Type Permalinks – bbPress固定链接更改插件]]> http://www.bbpress.me/forums/topic/%e5%88%86%e5%89%b2%ef%bc%9a%e5%a6%82%e4%bd%95%e5%ae%9a%e4%b9%89bbpress%e5%b8%96%e5%ad%90%e7%9a%84url/#post-1652 Sat, 27 Apr 2013 16:01:59 +0000 realhood :-? 发现个大问题
@admin @fake @zhuanquan
如果换成post_id,不是管理员登录,点击topic主题却是只想post_name的,这样一来就跳到404了
在bbpress好多问题
诸位可以试试
烦死了,不懂英文 跟他唠不上块去
懂php可以改改啊

另外:还有这样一个问题 不知发现了没,按照他们的方式改了就没问题
http://wordpress.org/support/topic/bbpress-topic-links-in-forums-break

 Code: arbitrary (select
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.

$parentsDirs = "";
if( !$leavename ){
  $postId = $post->ID;
  if ( !in_array($post_type, array('topic', 'forum', 'reply') ) ) {
    while ($parent = get_post($postId)->post_parent) {
      $parentsDirs = get_post($parent)->post_name."/".$parentsDirs;
      $postId = $parent;
    }
  }
}

]]>
http://www.bbpress.me/forums/topic/%e5%88%86%e5%89%b2%ef%bc%9a%e5%a6%82%e4%bd%95%e5%ae%9a%e4%b9%89bbpress%e5%b8%96%e5%ad%90%e7%9a%84url/#post-1653 <![CDATA[回复:Custom Post Type Permalinks – bbPress固定链接更改插件]]> http://www.bbpress.me/forums/topic/%e5%88%86%e5%89%b2%ef%bc%9a%e5%a6%82%e4%bd%95%e5%ae%9a%e4%b9%89bbpress%e5%b8%96%e5%ad%90%e7%9a%84url/#post-1653 Sat, 27 Apr 2013 16:04:56 +0000 realhood 感觉最好还是写个.htaccess文件

@admin @fake @zhuanquan

]]>