Open Heyula opened 2 years ago
Sample .htaccess
RewriteRule ^publisher\.([a-z]+)\.([0-9.]+)/ modules/publisher/index.php?seoOp=$1&seoArg=$2
In its place
RewriteRule ^publisher-([0-9.]+)/([a-z-]+).html modules/publisher/item.php?itemid=$1 [L]
publisher/class/Seo.php
line 119 return XOOPS_URL . '/' . $helper->getConfig('seo_module_name') . ".${op}.${id}/${shortUrl}"; In its place return XOOPS_URL . '/' . $helper->getConfig('seo_module_name') . "-${id}/${shortUrl}";
return XOOPS_URL . '/' . $helper->getConfig('seo_module_name') . ".${op}.${id}/${shortUrl}";
return XOOPS_URL . '/' . $helper->getConfig('seo_module_name') . "-${id}/${shortUrl}";
Thank you! I'll include it in the next version!
Sample .htaccess
RewriteRule ^publisher\.([a-z]+)\.([0-9.]+)/ modules/publisher/index.php?seoOp=$1&seoArg=$2
In its place
RewriteRule ^publisher-([0-9.]+)/([a-z-]+).html modules/publisher/item.php?itemid=$1 [L]
publisher/class/Seo.php
line 119
return XOOPS_URL . '/' . $helper->getConfig('seo_module_name') . ".${op}.${id}/${shortUrl}";
In its placereturn XOOPS_URL . '/' . $helper->getConfig('seo_module_name') . "-${id}/${shortUrl}";