My website is being redirected to another website automatically. How can I solve this issue?

xeraf23877

New member
Points
8
Need help I am a web designer (WordPress), my website redirected to another spam website when I someone comes from Google, bing, yahoo or any other search engine. I purchased a license from licensehosts.com and they hacked it. maybe someone here has experience with the same problem. My guess, the problem is on javascript injection, any suggestions I can do?
 

D3vil

Moderator
Staff member
Points
16
Having your personal website automatically redirect to another website can be frustrating. Fortunately, there are several steps you can take to troubleshoot and resolve this issue. First, clear your browser cache to eliminate conflicts caused by stored temporary files and data. Next, scan your website for malicious code using security plugins or tools like Sucuri SiteCheck or VirusTotal. Examine your website's critical files, such as `index.html`, `.htaccess`, and JavaScript files, for any suspicious code.

Verify your DNS settings by contacting your domain registrar or hosting provider to ensure they are correctly configured. Regularly update your website’s plugins, themes, and CMS to patch vulnerabilities. If you suspect your theme is compromised, rename the theme folder to check if the issue persists. Similarly, rename the plugin folder to deactivate all plugins, then reactivate them one by one to identify the problematic plugin.

Scan your computer for malware to ensure it isn’t causing the redirection. If the issue remains unresolved, seek help from a professional web developer or security expert. To prevent future issues, use strong passwords, regularly update your software, implement security measures like firewalls, back up your website regularly, and limit admin access to trusted users.
 

xeraf23877

New member
Points
8
Love you mate, my issue is fixed. The licensehosts.com inserted the malicious code in some of my plugins I did the way you told me and now every thing seems to be fine. You are an expert ❤️
 
Top