Login   •   Register   •   Member List   •  

Remove index.php from Expression Engine URLs

Create file with the name “.htaccess”

Cut/Paste the below lines

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php/$1 [L]

Upload to your main public HTML directory. Now you can access template groups in Expression Engine without having to type out http://www.urlhere.com/index.php/templategroupname/, instead you get http://www.urlhere.com/templategroupname/

I made one small change in the “File & Directory Check” Method, which was to add a question mark (?) right after index.php in the last line. Now, the correct pages load when I click on them.  I’m not sure if this effects anything in an incorrect way, but have not seen any negative effects...only positive...it works.

Very good! Here is my bookmark of this post! http://www.searchallinone.com/Other/Embed_QuickTime_plugin_updated__Andreas_Haugstrup_Pedersen__solitude-dk-1/

Name:

Email:

Location:

URL:

Smileys

Remember my personal information

Notify me of follow-up comments?

Submit the word you see below: