htaccess mobile redirect code – htaccess spam or hacker code

Home Forums BulletProof Security Free htaccess mobile redirect code – htaccess spam or hacker code

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #32585
    pedro
    Participant

    Hi!

    After cleaning an hacked virus in the htaccess file that on mobile redirects to a spam site, my site lost the responsive function on mobile!
    If I see it on a desktop in responsive mode everything works fine.
    Can anyone help understand this?
    Is there a way to restore the htaccess files pre virus?

    Thanks

    #32586
    AITpro Admin
    Keymaster

    If your website is already hacked before installing BPS or any security plugins you need to clean up your hacked website and your entire hosting account or restore your website from a good backup that you are sure is 100% clean of any hacker files or code.

    You can just click the Root BulletProof Mode Activate button to create a new BPS Root htaccess file, but you should assume the worst case scenario, which is your website and hosting account are hacked/compromised and do the website hack cleanup steps in this forum topic:  https://forum.ait-pro.com/forums/topic/wordpress-hacked-wordpress-hack-cleanup-wordpress-hack-repair/  First try to restore your entire website:  files and database from a good backup (assuming your backup does not already contain hacker files and/or code).

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.