Welcome Guest, Not a member yet? Register   Sign In
How to change my url


How to change my url without index.php..

thanks in advance


If you mean remove the index.php from the URL, see the User Guide's section URLs.

As it said, you need to create a .htaccess file, in your index.php path.

A comun content for this file, all around this forum, is:

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

<IfModule !mod_rewrite.c>
  ErrorDocument 404 /index.php

Then you need to remove the value from the index_page config in config.php:

$config['index_page'] = "";

Theme © iAndrew 2016 - Forum software by © MyBB