Jump to content

URL Rewriting


kickassamd

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.