Home>Article>Operation and Maintenance> How to fix a website that has been hijacked
Solution to a hijacked website: First, users can modify the website to https and set the host directory of the space to prohibit writing; then check the third-party software on the website to ensure that the third-party software is not There is cheating; finally turn off domain name resolution and delete the domain name promptly after resolution.
# Recently, many people have encountered that the website has been hijacked, so how to repair the website if it has been hijacked? This may also be a headache for many webmasters. Let’s explain how to repair a website that has been hijacked.
1: What does it mean that the website has been hijacked?
1. Website hijacking literally means that the website that the user wants to visit is hijacked by the web page in the middle. Intercept and intercept other pages. [Recommended reading:What does DNS cache poisoning mean】
2. Browser hijacking is a malicious program that can use browser plug-ins and user browsing The browser intercepts, causing the user's browsing page to be abnormal, and the user's browser homepage to be modified at will and jump to other websites.
3. Another type of hijacking is to hijack domain names, use DNS attacks to resolve DNS, and use fake DNS methods to parse web pages to the wrong website.
2: Repair method for website hijacking:
Users can modify the website to https, and set the host directory of the space to prohibit writing and only allow Reading, even if malicious code appears, cannot be written, check the third-party software on the website, and save the third-party software without cheating. The second is to turn off domain name resolution. After entering the resolution, delete the * domain name in time. If the browser encounters hijacking, uninstall the browser and go to the official website again to download one. Also, under normal circumstances, we back up the website once a week to prevent problems and restore them in time.
The above is a complete introduction to how to repair a website that has been hijacked. If you want to know more about operation and maintenance knowledge, please pay attention tophp中文网.
The above is the detailed content of How to fix a website that has been hijacked. For more information, please follow other related articles on the PHP Chinese website!