I have just created my first website with php and bootstrap and have run into a problem when a bootstrap form is submitted.
What happens is if you start on the main url page and enter a url into the input form it will redirect to the the index.php.
The code i used for the input is
<form class="form-horizontal" role="form" method="post" action="index.php">
Is there anyway to use a .htaccess etc to redirect it back? or is it normal that after a form is submitted it then attaches /index.php to the url?