Welcome to the HostMaji Community! Ask a question or share a project to get started.

Malware & Threats

My WordPress site is redirecting to a spam website. What do I do?

Author's Avatar

Asked by Anjali Patel

September 15, 2025

Help! When I visit my website, it redirects to a shady-looking pharmacy site. I can't even log in to my admin dashboard. How can I fix this?

1 Answer(s)

User Avatar

Community Support Verified

Sep 15, 2025 at 10:45 AM

Hello Anjali, this is a common symptom of a malware infection. The redirect is likely caused by malicious code injected into your `.htaccess` file or your `index.php` file. Please immediately contact our support team by raising a high-priority ticket. We will help you isolate the account and can provide guidance on the cleanup process.

Your Answer

Please log in to post an answer.