My website is redirecting to another website. How can I fix it? I am using WordPress.
by admin
If your website is infected with a malware which redirects your website to some spam website, i would recommend going through this complete guide on how you should detect and clean WordPress Malware Redirect, step by step in an simple way you can easily understand and implement.
It could be the site is Hacked
It could be a Redirect has been added from your Control Panel
It could be that a Plugin is Malfunctioning
It could be that you have mistakenly added another URL in the WordPress Settings section
It could be hacked through wordpress login
Checklist for redirection:
Mostly hackers will use basic technique using .htaccess, Check the .htaccess file through cpanel if you are not able to find go to settings on right top click show hide folders/files
If your WordPress website is performing malicious redirects, check the following areas for suspicious code:
- Core WordPress Files
- index.php
- index.html
- .htaccess file
- theme files
- header.php (in the themes folder)
- footer.php (in the themes folder)
- functions.php (in the themes folder)
In short, you need an immediate malware clean-up i.e removing malicious files, scripts, content etc. from your website. If you are not handy with technicalities it is a going to be a great problem for you. If you end up deleting a legitimate file it can cost you heavily, so take security expert opinion.
Prevent from Hacking:
Use Strong Password for wordpress login and Cpanel Login
Use Captcha for all forms like contact/reservation to prevent from hacking
Recommended Posts
Preventing WordPress hacks
July 31, 2017
Simple Tips to Secure Your Website from Hackers
July 24, 2017
How to Improve Business After Lockdown?
January 21, 2021