return XOOPS_URL . '/' . $helper->getConfig('seo_module_name') . ".${op}.${id}/${shortUrl}";
return XOOPS_URL . '/' . $helper->getConfig('seo_module_name') . "-${id}/${shortUrl}";
重写引擎启用
#Ajax 评分用 -
RewriteRule ^modules/publisher/index.php/([a-z]+).([0-9.]+)/include/ajax_rating.php$ modules/publisher/include/ajax_rating.php?%{QUERY_STRING}
RewriteRule ^publisher.([a-z]+).([0-9.]+)/include/ajax_rating.phpmodules/publisher/include/ajax_rating.php?%{QUERY_STRING}
#SEO .Htaccess 设置
RewriteRule ^publisher.([0-9.]+)/([a-z-]+).html modules/publisher/item.php?itemid=$1 [L]
|
Re: 发布者模块中的 SEO 链接
太棒了!非常感谢分享!!