---
title: "How can I remove Url’s redirection of Adware and malware from our website?"  
description: "How can I remove Url’s redirection of Adware and malware from our website?"  
author: "Arezio Aurechio"  
published: 2018-11-22  
canonical: https://answers.mindstick.com/qa/51740/how-can-i-remove-url-s-redirection-of-adware-and-malware-from-our-website  
category: "programming"  
tags: ["web browsers", "malware", "adware"]  
reading_time: 1 minute  

---

# How can I remove Url’s redirection of Adware and malware from our website?

How can I [remove](https://yourviews.mindstick.com/view/81420/this-is-no-time-to-remove-obamacare-for-usa-under-covid-19-pandemic) [Url](https://www.mindstick.com/forum/2333/geting-current-page-url-in-mvc)’s [redirection](https://www.mindstick.com/forum/436/url-redirection) of Adware and [malware](https://www.mindstick.com/articles/12717/malware-ransom-ware-and-spyware-and-its-effects) from our website?

## Answers

### Answer by Harsh Srivastava

**To remove all malicious code from your websites please do these all points:** **1.** Ensure you were not using any malicious line of code in your project (Website). When you are not 100% sure about the functionality of used line of code, script and CSS class file, please remove them. **2.** Replace all anchor tag blank href property with return void(0). **3.** If you are using MVC architecture then use Microsoft DLL “[AntiXSS](https://www.mindstick.com/Articles/23351/cross-site-script-xss-prevention)” to prevent malicious line of code with your fields. \
**For more details please follow below the links:** **[https://www.mindstick.com/Articles/23351/cross-site-script-xss-prevention](https://www.mindstick.com/Articles/23351/cross-site-script-xss-prevention)** [**https://www.mindstick.com/forum/34702/please-tell-me-what-is-cross-site-scripting-and-how-is-it-harmful-for-your-application**](https://www.mindstick.com/forum/34702/please-tell-me-what-is-cross-site-scripting-and-how-is-it-harmful-for-your-application) [**http://answers.mindstick.com/qa/51738/what-is-the-cross-site-scripting-and-how-it-can-harmful-for-your-application**](https://answers.mindstick.com/qa/51738/what-is-the-cross-site-scripting-and-how-it-can-harmful-for-your-application) **[http://answers.mindstick.com/qa/51739/how-to-prevent-website-to-external-harmful-attacks](https://answers.mindstick.com/qa/51739/how-to-prevent-website-to-external-harmful-attacks)** \
***I Hope It's Informative...***


---

Original Source: https://answers.mindstick.com/qa/51740/how-can-i-remove-url-s-redirection-of-adware-and-malware-from-our-website

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
