fri3ndly Posted February 15, 2008 Share Posted February 15, 2008 Hiya I have never tried to use this before, but feel I need to now... my .htaccess file currently says: Options +FollowSymLinks RewriteEngine on RewriteRule page-(.*)-type-(.*).htm$ /?page=$1&type=$2& and this turns ?page=availability&type=let into page-availability-type-let.htm but how do I add multiple rules because just page-about.htm does not work with this, and when I include the rerwite rule for that too it just says the page cannot be found Sorry I just noticed there is actually a section for mod rewrites Link to comment https://forums.phpfreaks.com/topic/91239-mod-rewrite-trouble/ Share on other sites More sharing options...
Daniel0 Posted February 15, 2008 Share Posted February 15, 2008 Just add a new one below: RewriteRule page-(.*)-type-(.*).htm$ /?page=$1&type=$2& RewriteRule page-(.*).htm$ /?page=$1 Link to comment https://forums.phpfreaks.com/topic/91239-mod-rewrite-trouble/#findComment-467679 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.