mambax7 / publisher

Publishing module for XOOPS for static/HTML content and articles stored and provided in a hierarchical manner
GNU General Public License v2.0
1 stars 1 forks source link

sample.htaccess #22

Open Heyula opened 2 years ago

Heyula commented 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}";

mambax7 commented 2 years ago

Thank you! I'll include it in the next version!