Domain with www. redirects to wp-admin

When we enter: http://www.domain.com, the site redirects to wp-admin (https://domain.com/wp-login.php?redirect_to=https%3A%2F%2Fdomain.com%2Fwp-admin%2F&reauth=1).

Please follow the below steps, if you face the above issue.

1) Check whether you are running the standard WordPress .htaccess.
Here is the standard for reference:

2) Insert the below code into .htaccess.

3) Go to the browser and check it once again with www.domain.com.

admin

Our team has expertise across software and web development, WordPress, e-commerce, mobile applications, UI/UX, cloud and infrastructure, DevOps, CI/CD, API integration, security, testing, automation, and technical support. The team also works with AI-based software solutions, LLMs, AI workflows, AI agents, and intelligent application development to help businesses automate processes and build smarter digital solutions. We focus on developing, deploying, maintaining, and optimising secure, scalable, and reliable technology solutions while helping businesses adopt modern technologies and drive digital transformation.

Leave a Comment

Scroll to Top