mod_rewrite what is it and what does it affect? |
It allows you to redirect an url to a file without having the filename in the url. With CodeIgniter you need mod_rewrite to remove index.php from the url. The rules in .htacess will tell Apache to redirect the queries to index.php, which is the front controller. Read this page: https://codeigniter.com/userguide3/gener...x-php-file
So you can have something like Code: http://localhost/blog/whatever Code: http://localhost/index.php/blog/whatever |
Messages In This Thread |
mod_rewrite what is it and what does it affect? - by richb201 - 11-17-2021, 06:28 AM
RE: mod_rewrite what is it and what does it affect? - by includebeer - 11-17-2021, 06:57 PM
|