ServerTweak.com Posted July 9, 2008 Share Posted July 9, 2008 can someone post an how too, thanks? 0 Quote Link to comment Share on other sites More sharing options...
magga Posted July 9, 2008 Share Posted July 9, 2008 Something like this should do it fine (well it did on mine anyway!) in .htaccess: RewriteEngine On RewriteRule ^announcements/([0-9]+)/[a-z0-9_-]+$ announcements.php?id=$1 [L,NC] in announcements.tpl change the links to: <a href="announcements/{$announcement.id}/{$announcement.title|regex_replace:"/ /":"_"|regex_replace:"/[\?\'\.\,\!]/":""}"> 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.