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.