Welcome Guest, Not a member yet? Register   Sign In
mod_rewrite what is it and what does it affect?
#2

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
...instead of
Code:
http://localhost/index.php/blog/whatever
Reply


Messages In This Thread
RE: mod_rewrite what is it and what does it affect? - by includebeer - 11-17-2021, 06:57 PM



Theme © iAndrew 2016 - Forum software by © MyBB