I had this error once before. First of all you should try and find any plug in that may be causing the redirect. Deactivate or delete the plug in. Since I did not find the bad plug in what I did was delete the “.htaccess” file in cPanel. Don’t know if this works for you but it worked for me. Deleting the .htaccess file created a fresh new one.