kickassamd Posted March 2, 2009 Share Posted March 2, 2009 I have installed isapi_rewrite from HeliconTech for IIS I currently have RewriteRule ^(.*?\.php)/([^/]*)/([^/]*)(/.+)? $1$4?$2=$3 [NC,LP,QSA] But this requires site.com/index.php/page/news to do index.php?page=news I am trying to get it to do site.com/page/news and send the results to site.com/index.php?page=news Basically no filename in the URL. Is there anyone good with rewrite rules that can help? Thanks! Link to comment https://forums.phpfreaks.com/topic/147512-url-rewriting/ Share on other sites More sharing options...
phant0m Posted March 2, 2009 Share Posted March 2, 2009 What about this? RewriteRule ^([^/]+)/([^/]+)$ index.php?$1=$2 [QSA] Link to comment https://forums.phpfreaks.com/topic/147512-url-rewriting/#findComment-774979 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.