A PHP Error was encountered

Severity: Warning

Message: preg_match(): Compilation failed: unmatched closing parenthesis at offset 38

Filename: hooks/Check_user.php

Line Number: 217

Backtrace:

File: /home/b2z283hyjn3q/public_html/application/hooks/Check_user.php
Line: 217
Function: preg_match

File: /home/b2z283hyjn3q/public_html/application/hooks/Check_user.php
Line: 84
Function: getOS

File: /home/b2z283hyjn3q/public_html/application/hooks/Check_user.php
Line: 10
Function: anylisis

File: /home/b2z283hyjn3q/public_html/index.php
Line: 315
Function: require_once

Unknown How to Remove Index.php in Codeigniter using htaccess - Codeigniter tutorial for beginners step by step in hindi | My Project HD
X

How to Remove Index.php in Codeigniter using htaccess - Codeigniter tutorial for beginners step by step in hindi

How to Remove Index.php in Codeigniter using htaccess - Codeigniter tutorial for beginners step by step in hindi





In This tutorial we will discuss about . How to remove index.php in codeigniter using htaccess .

How to remove index.php

1. Create new .htaccess file on your codeigniter project root folder
2. write this code on your .htaccess file 

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

3.Open config.php file

Change :

$config['index_page'] = "index.php";

To

$config['index_page'] = '';

After use this step . index.php removed on your project url


Related Tutorials