How to remove domain.com/index.php/folder

New to mod_rewrite? This is a good place to start.

How to remove domain.com/index.php/folder

Postby alexasigno » Thu Jun 10, 2010 5:46 pm

Hiya,

I appreciate your help in advance, I'm unsuccessfully trying to remove the /index.php/ folder from my URLs.

E.g. http://www.domain.com/index.php/folder to http://www.domain.com/folder

I've been trying to use this:
RewriteRule ^(.*)$ /index.php/$1 [L, R=301]

But I think the problem is that I am getting the condition wrong.
Any help would be most appreciated.

Many thanks
Alex
alexasigno
 
Posts: 15
Joined: Tue Aug 29, 2006 3:24 am

Return to Beginner's Corner

Who is online

Users browsing this forum: Google [Bot] and 5 guests

cron