mm Posted October 22, 2008 Share Posted October 22, 2008 Hi, I am redirecting /index.php to the root using : RewriteCond %{THE_REQUEST} ^.*/index\.php RewriteRule ^(.*)index\.php$ /$1 [R=301] The problem is that all the other pages are missing "index.php" in the url. How can I redirect ONLY /index.php and keep all the other subpages with the full url ( ex: www.domain.com/index.php?page=blabla...) Thanks! Link to comment https://forums.phpfreaks.com/topic/129545-redirecting-indexphp-to-root-but-not-other-subpages/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.