robert972 Posted May 29, 2007 Share Posted May 29, 2007 Hi, I have this in my .htaccess: RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^([^-]*)\.html$ $1.php RewriteRule ^([^-]*)-(.*)\.html$ $1.php?$2.html consider these: http://www.mysite.com/index.html?manufacturers_id=53 http://www.mysite.com/index.php?manufacturers_id=53 the first url doesnt work, the second does. i need the first one to work, since it is the rewritten url. please help, thanks Link to comment https://forums.phpfreaks.com/topic/53460-solved-mod_rewrite-issue/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.