Standard website url redirects to wp-login

I’m having this wierd redirection issue, my website url without the www. typed before it redirects to the /wp-login.php :

/wp-login.php?redirect_to=https%3A%2F%2F%2Fwp-admin%2F&reauth=1

If I type in the full name of my website, like www.example.com it works fine. But if I tried example.com it redirects.

Does anyone have an idea how to fix this?
(this problem started occuring after installing wordfence)

Read more here: Standard website url redirects to wp-login

Leave a Reply

Your email address will not be published. Required fields are marked *