Welcome Guest, Not a member yet? Register   Sign In
Can't configure 'remove index.php'
#4

(This post was last modified: 10-19-2016, 07:39 AM by Wouter60.)

Put your .htaccess file in the same folder as index.php

My version:
Code:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php [L]
</IfModule>

# Prevent file browsing
Options -Indexes

In my config.php:
PHP Code:
$config['base_url']    = 'http://www.my-domain.com/' //example!
$config['index_page'] = '';
$config['uri_protocol']    = 'AUTO'
Reply


Messages In This Thread
Can't configure 'remove index.php' - by planteg - 10-18-2016, 07:42 AM
RE: Can't configure 'remove index.php' - by Wouter60 - 10-19-2016, 07:36 AM



Theme © iAndrew 2016 - Forum software by © MyBB