• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cannot remove index.php

#5
[eluser]Unknown[/eluser]
here code for u! That is working with me!

<IfModule mod_rewrite.c>

Options +FollowSymLinks
RewriteEngine on

# NOTICE: If you get a 404 play with combinations of the following commented out lines
#AllowOverride All
#RewriteBase /yourbase

RewriteCond $1 !^(index\.php|images|robots\.txt)

# Send request via index.php
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

<IfModule mod_php5.c>
RewriteRule ^(.*)$ index.php/$1 [L]
</IfModule>

<IfModule !mod_php5.c>
RewriteRule ^(.*)$ index.php?/$1 [L]
</IfModule>

</IfModule>

Ps: write this code into file .htaccess within index.php folder.


Messages In This Thread
Cannot remove index.php - by El Forum - 09-07-2012, 11:21 AM
Cannot remove index.php - by El Forum - 09-08-2012, 12:57 AM
Cannot remove index.php - by El Forum - 09-08-2012, 06:16 PM
Cannot remove index.php - by El Forum - 09-08-2012, 07:19 PM
Cannot remove index.php - by El Forum - 09-09-2012, 03:04 AM
Cannot remove index.php - by El Forum - 09-09-2012, 03:30 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.