How To Fix Your Website When It Gets Hacked?

It's not uncommon for sites - even large ones with lots of protection - to get hacked. Security is a major problem these days. And if your site gets hacked, it can get damaged in a number of ways. You could lose all your data, or lose its ranking due to malicious activity. So while you can take periodic backups, you cannot prevent someone from hacking into your site. The best and most practical thing to do in such an event is to recover your site as fast as possible so that the effect of the attack is neutralized/minimized.


Here are some tips shared by Google for getting your website back on track after it has been hacked.

Clean up malicious scripts

Hackers can target your site for any number of motives. From taking down your website and deleting its content to simply adding backlinks discreetly, there's a lot that can be done. If you notice suspicious content appearing on your website, delete those unnecessary pages immediately. However, don't just stop there.

Hackers will often insert malicious scripts into your HTML and PHP files. These could automatically be creating rogue backlinks or even new pages. Make sure you check your website's source code and see for any malicious PHP or JavaScript code that could be creating such content.

Maintain your CMS

Websites often get hacked due to vulnerabilities in a CMS that get patched with updates. If you're running an older version, your site is more susceptible to attack. Make sure you keep your CMS updated, and use a strong password for login. If possible, enable two-step verification to secure the login process.

www vs. non-www

www and non-www URLs are not the same. http://www.example.com is not the same as http://example.com - the former refers to a sub-domain 'www', whereas the latter is the root of your site. When checking for malicious content, verify the non-www version of your site as hackers often try to hide content in folders that may be overlooked by the webmaster

Other useful security tips

  • Avoid using FTP when transferring files to your servers. FTP does not encrypt any traffic, including passwords. Instead, use SFTP, which will encrypt everything, including your password, as a protection against eavesdroppers examining network traffic.
  • Check the permissions on sensitive files like .htaccess. Your hosting provider may be able to assist you if you need help. The .htaccess file can be used to improve and protect your site, but it can also be used for malicious hacks if they are able to gain access to it.
  • Be vigilant and look for new and unfamiliar users in your administrative panel and any other place where there may be users that can modify your site.
Got any questions? Feel free to leave a new comment in this post section. You can read the post from Google along with a couple case studies here. Good luck (:

COMMENTS

BLOGGER
Name

Ad Networks,4,Adsense,3,Adsense Alternative,2,Affiliate Marketing,3,ARTICLE WRITING,3,Aweber,1,BACKLINKING,1,Bitcoins,1,BLOG DESIGN,5,BLOGGER,19,BLOGGER NOTIFICATIONS,2,BLOGGER PLUGINS,23,BLOGGER POSTS,3,BLOGGER WIDGETS,16,Blogging,8,BLOGGING TIPS,28,Bluehost,1,Chitika,1,CHRISTMAS DECORATION,1,COMMENTS,2,Coupons,1,Email Marketing,2,FACEBOOK,3,Freelancing,1,GCS,1,Grammarly,1,help,1,How To,2,important points,1,JQUERY,2,Links,1,Make Money Online,14,NAVIGATION,1,New Year 2017,1,Nofollow Links,1,NOTIFICATIONS,1,online,2,Other,1,Outreach Emails,1,Parental control,1,POPULAR POSTS,1,Privacy,1,Review,5,RSS Feed,1,secure,1,seo,13,Shortcode,1,SOCIAL MEDIA,9,Start A Blog,3,Tech News,1,Tech Tips,2,TEMPLATE CUSTOMIZATION,15,Top Softwares,1,TRAFFIC TIPS,7,Web Hosting,2,WEBMASTER TOOLS,4,widgets,32,WordPress Plugins,1,WordzPress,1,WP THEMES,1,YouTube,2,
ltr
item
HV BLOGGERS: How To Fix Your Website When It Gets Hacked?
How To Fix Your Website When It Gets Hacked?
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhD16QubnSQ-bUpijdL06EHLZMq8NAJ9DdnxfDDYZWilGEjOCjDSdkPnBzCNYE60FFDk8h-aMLdR0Cc-uW041px7Z4QQkbCsJxz_jFUxX1qq02VjnNTjxxbuy_hNp9TjWNyx2NsCQblfcpI/s1600/keep+your+site+safe.jpg
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhD16QubnSQ-bUpijdL06EHLZMq8NAJ9DdnxfDDYZWilGEjOCjDSdkPnBzCNYE60FFDk8h-aMLdR0Cc-uW041px7Z4QQkbCsJxz_jFUxX1qq02VjnNTjxxbuy_hNp9TjWNyx2NsCQblfcpI/s72-c/keep+your+site+safe.jpg
HV BLOGGERS
https://hvbloggers.blogspot.com/2017/04/how-to-fix-your-website-when-it-gets.html
https://hvbloggers.blogspot.com/
https://hvbloggers.blogspot.com/
https://hvbloggers.blogspot.com/2017/04/how-to-fix-your-website-when-it-gets.html
true
4122661956596859215
UTF-8
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS CONTENT IS PREMIUM Please share to unlock Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy