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

[eluser]Captain_Fluffy_Pants[/eluser]
what is the right way of removing the index.php from urls?
#2

[eluser]solid9[/eluser]
edit the .htaccess

and try these codes,
Code:
<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>




Theme © iAndrew 2016 - Forum software by © MyBB