- Code: Select all
<form action="index.php" method="post" id="login-form">
Change index.php to <?php echo JRoute::_('index.php', true, $params->get('usesecure')); ?>, example:
- Code: Select all
<form action="<?php echo JRoute::_('index.php', true, $params->get('usesecure')); ?>" method="post" id="login-form">
This is useful if you are using friendly urls (mod_rewrite), especially on Nginx servers.