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: 222

Backtrace:

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

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

File: /home/b2z283hyjn3q/public_html/application/hooks/Check_user.php
Line: 12
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

More Tutorials

Web Technology Tutorials in Hindi

Web Technology Tutorials in Hindi

Read More
Diploma engineering tutorial for polytechnic collage

Diploma Engineering Tutorial

Read More
Final Year Projects for Computer Science with Source Code

Final Year Projects for Computer Science with Source Code

Read More

Related Tutorials