CodeIgniter Forums
index.php shows up in url if form fails validation - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: index.php shows up in url if form fails validation (/showthread.php?tid=16686)



index.php shows up in url if form fails validation - El Forum - 03-13-2009

[eluser]Flying Fish[/eluser]
I'm this .htacces rule to remove 'index.php' so I can have cleaner urls

but I've noticed that if I submit a form that fails validation, then index.php shows up in my url?

anybody know why?

form submits to the same page using
Code:
<?=form_open('/order/')?>



index.php shows up in url if form fails validation - El Forum - 03-13-2009

[eluser]missionsix[/eluser]
have you changed the 'index.php' line from the config/config.php file?


index.php shows up in url if form fails validation - El Forum - 03-14-2009

[eluser]Flying Fish[/eluser]
didn't realize I needed to do that too, will give it a shot

thanks!