Lumio Posted June 28, 2008 Share Posted June 28, 2008 Hi! How can I use (.+?) but when that part is index, it shouldn't get recognized. I'm using that in a .htaccess file: RewriteRule ^(.+?).html[\/]{0,1}$ index.php?page=$1 How can I recognize if the first part is index? Link to comment https://forums.phpfreaks.com/topic/112355-but-not-index/ Share on other sites More sharing options...
Lumio Posted June 28, 2008 Author Share Posted June 28, 2008 I did it by my own ^(?=index)|(.+?)\.html$ That works great Link to comment https://forums.phpfreaks.com/topic/112355-but-not-index/#findComment-576919 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.