tuckker Posted November 26, 2008 Share Posted November 26, 2008 WHen users access http://domain.com/file1.jsp?id=1, I only want the URL to show http://domain.com/file1?id=1 How do I do it using mod-rewrite? Thanks in advance! Link to comment https://forums.phpfreaks.com/topic/134404-removing-jsp-extension-using-mod_rewrite/ Share on other sites More sharing options...
corbin Posted November 27, 2008 Share Posted November 27, 2008 RewriteEngine On RewriteRule ^file1?id=([\d]+)$ /file1.jsp?id=$1 Link to comment https://forums.phpfreaks.com/topic/134404-removing-jsp-extension-using-mod_rewrite/#findComment-700128 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.