Welcome Guest, Not a member yet? Register   Sign In
index.php remove error
#1

Hi all,

I tried to remove (index.php) from my application URL by the .htaccess file but there is a message error appear told me that the requested url not found ,,,, I'am use Wampserver
Reply
#2

Please post you htaccess

Reply
#3

(12-01-2014, 06:20 AM)Ahmad Alhaj Wrote: Hi all,

I tried to remove (index.php) from my application URL by the .htaccess file but there is a message error appear told me that the requested url not found ,,,, I'am use Wampserver


Put this in your .htaccess file and remove index.php from the config file at line 68 : $config['index_page'] = '';


<IfModule mod_rewrite.c>


  Options +FollowSymLinks
  RewriteEngine on

  # Send request via index.php
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule ^(.*)$ index.php/$1 [L]

</IfModule>
Romanian CodeIgniter Team :: Translations :: Comunity :: Developers
http://www.codeigniter.com.ro
Reply
#4

My .htaccess file:

<IfModule mod_rewrite.c>

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




Theme © iAndrew 2016 - Forum software by © MyBB