i can use shortlink.
- Code: Select all
RewriteRule ^cat-([0-9]*).html modules.php?name=News&op=viewcat&catid=$1 [L]
- Code: Select all
$urlin = array(
'"(?<!/)modules.php\?name=News&op=viewcat&catid=([0-9]*)&ttitle2=([/:\-\'{}()\,\._&a-zA-Z0-9+= ]*)"',
'"(?<!/)modules.php\?name=News&op=viewcat&catid=([0-9]*)"',
- Code: Select all
$urlout = array(
'cat\\1-page\\2.html',
'cat-\\1-\\2.html',
'cat-\\1.html',)
modules News file index.php
a href=\"modules.php?name=$module_name&op=viewcat&catid=$cat_id&$ttitle2
view site : http://localhost/tlnn/cat-2.html&Xa-hoi---Giao-duc
help me : http://localhost/tlnn/cat-2-Xa-hoi---Giao-duc.html