Welcome to Dream.In.Code
Getting Help is Easy!

Join 131,582 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,966 people online right now. Registration is fast and FREE... Join Now!




Expression Engine

 
Reply to this topicStart new topic

Expression Engine

vb6_god
post 3 Oct, 2008 - 02:44 PM
Post #1


New D.I.C Head

*
Joined: 3 Dec, 2007
Posts: 26


My Contributions


Hi everyone,

I am using EE as a CMS and i need to get rid of the index.php string that EE throws into the URl

e.g. EE URL : www.example.com/index.php/home

I have used the following code in my .htaccess file but it just takes down my server.



[code]
# BEGIN Expression Engine Rewrite

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond $1 !\.(gif|jpe?g|png)$ [NC]
RewriteRule ^(.*)$ /index.php?$1 [L]
</IfModule>

# END Expression Engine Rewrite

[code]

this is taken from

http://expressionengine.com/wiki/Remove_index.php_From_URLs/


Has anyone came accross this problem before ??
User is offlineProfile CardPM

Go to the top of the page


girasquid
post 3 Oct, 2008 - 02:55 PM
Post #2


Barbarbar

Group Icon
Joined: 3 Oct, 2006
Posts: 1,255



Thanked 14 times

Dream Kudos: 650
My Contributions


Could it be because you used a ? in place of a / in your index.php rewrite?
User is offlineProfile CardPM

Go to the top of the page

Fast ReplyReply to this topicStart new topic
Time is now: 11/20/08 03:32AM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month