Quantcast
Channel: Active questions tagged config - Stack Overflow
Viewing all articles
Browse latest Browse all 5060

Codeigniter | Remove index.php from site_url or anchor functions

$
0
0

I need to remove index.php from site_url() return valueI don't want search engines cache my URLs contain index.php.

I removed index.php from url by setting .htaccess file but still not working.

For example, when I use site_url() in part of my project, search engines cache the URL like http://url/index.php/controller. I remove index.php from site_url function in system/helper but I think the redirect and form_open functions don't work properly.


Viewing all articles
Browse latest Browse all 5060


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>