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
Tutorial Topics
- Intorducation of Codeigniter Tutorial - Codeigniter Tutorial For Beginners Step By Step in Hindi
- What is Codeigniter And What Is Framework - Codeigniter Tutorial For Beginners Step By Step in Hindi
- how to install codeigniter in xampp windows -Codeigniter Tutorial For Beginners Step by Step in Hindi
- Codeigniter Application Architecture - Codeigniter Directory Structure-Codeigniter Tutorial for Beginners Step by Step in Hindi
- What is MVC Architecture - Codeigniter Tutorial for Beginners Step by Step in Hindi
- Basic Component Of Codeigniter - Codeigniter tutorial for beginners step by step in hindi
- How to set Base url in Codeigniter Config File| Codeigniter tutorial for beginners step by step in hindi
- Database Configuration in Codeigniter |Codeigniter tutorial for beginners step by step in hindi
- How to Load Library | Model | Helper in Codeigniter | Autoload files | 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
- What is Helper in Codeigniter - Codeigniter tutorial for beginners step by step in hindi
- What is URL Helper in codeigniter - What is Helper in Codeigniter - Codeigniter tutorial for beginners step by step in hindi