I cannot find the mod_rewrite in the codeigniter wiki anymore? where did it go? I tried looking at this link but its not in here anymore.
相关问题
- .htaccess rule, redirecting old unexistent address
- How to use strip_tags with second parameter in Cod
- codeigniter replace array values in model
- How to access variables from other methods inside
- codeigniter $this->upload->do_upload() = false
mod_rewrite is part of apache web server it not part of codeigniter this extension you use to write SEO friendly url
have look on this link which will help you to write search engine friendly urls
SEO friendly urls
to check mod_rewrite is loaded or not just put in empty php file phpinfo() call that file in browser and search for mod_rewrite to enable it search for apache httpd.conf on your apache web server conf directory if it is commented with # just remove it and restart your web server after loading server call again phpinofo and search for mod_rewrite
Your
.htaccess
should look something like this: