Forums Forums White Hat SEO Website was hacked and hacker added custom sitemaps and thousands of pages, should I restore back before the day it happened?

  • Website was hacked and hacker added custom sitemaps and thousands of pages, should I restore back before the day it happened?

    Posted by seohelper on January 4, 2021 at 10:08 am

    Would restoring backup fix everything?

    omgwtfbbq69 replied 5 years, 2 months ago 1 Member · 10 Replies
  • 10 Replies
  • ScrantonTimes

    Guest
    January 4, 2021 at 11:05 am

    Yes, it will. You’ll also want remove the sitemap from GSC if it was added there and immediately request removals of any harmful pages. The rest can 404 and will be eventually unindexed.

  • lalliexperience

    Guest
    January 4, 2021 at 11:25 am

    Yes. Also try to fix whatever vulnerabilities you have so you don’t get hacked again. Passwords for FTP, SQL database connections, admin logins, check file and folder permissions, also update WordPress or Joomla plugins (or whatever you might have). I’ve also seen hacked templates and one time I went in circles restoring backups and getting hacked over and over again until I figured out it was from a template I chose to download from a sharing site instead of paying for it.

  • Due_Training_9782

    Guest
    January 4, 2021 at 1:22 pm

    Yes back will sort this out…what a mess, sorry to hear this.

  • pasinc20

    Guest
    January 4, 2021 at 1:42 pm

    Quick question but how did you notice it was hacked?

  • mosamakhan

    Guest
    January 4, 2021 at 1:47 pm

    Yes. It will be back to normal. But make sure to keep an eye on the search console.

    * Change all the passwords:
    * SQL
    * WordPress
    * CPanel
    * FTP

    don’t use the same passwords. Dashlane is the best solution for this.

  • omgwtfbbq69

    Guest
    January 4, 2021 at 1:47 pm

    >Would restoring backup fix everything?

    Possibly, including also restoring the original issue that likely allowed entry in the first place. Sounds like you should get an audit done on the site. If the existing vulnerabilities aren’t fixed and the site cleared of all malware also, you’ll likely just have the same issue over and over.

  • kunjal69

    Guest
    January 4, 2021 at 3:40 pm

    Update: I restored the website from backup the original Rankmath sitemap works now have to set redirection for sitemap.xml to sitemap_index.xml few pages design has broken have to manage that

  • ClickedMarketing

    Guest
    January 4, 2021 at 3:46 pm

    A lot of incorrect answers in this thread.

    Restoring from a backup MAY remove everything. It also may not. The actual hack may have happened weeks or even months before that.

    What it sounds like you have is a MySql injection. The hackers inject code into your database. If that code is still there, the pages will be recreated again in a few days, weeks, or months.

    If it is a MySql injection, doing things like changing passwords on your hosting account and WordPress installation won’t help either. The code needs to be found and rooted out or it will just keep happening over and over.

  • watsondigital

    Guest
    January 4, 2021 at 7:44 pm

    Were the pages indexed by Google or did you catch it in time? Removing them from google as 404 might take some time. When I really wanted something out, I’d add a Noindex and submit so Google would visit the site right away. Then, 404.

    But given the circumstances, removing is probably your best option right now.

  • kunjal69

    Guest
    January 7, 2021 at 6:03 pm

    Update: hack pages are gone from serp but are showing in valid coverage report, I am waiting for them to go away else would have to do something

Log in to reply.