User is getting redirected to
https:// (giving SSL certificate error) when login to the Joomla 'user' login panel/module even though
SSL is not installed on the
website and there is no reference for
https:// or SSL in your files and in the Joomla admin panel.
One of the solutions is to make a small tweak as follows in the file
"/home/username/public_html/libraries/joomla/methods.php"
Search for the variable
$scheme (around about line number 80) and set the parameter :-
If the parameter is set as
$scheme = ( $ssl === 1 ) [ i.e. use https] change it to
$scheme = ( $ssl === -1 ) [i.e. use http] and save the file.
That's it.
Note :- Take a backup of the file before making any changes.