My website is redirected to another website.

Asked By 0 points N/A Posted on -
qa-featured

I have a website named www.XYZ.com. I use worpress as CMS for my website. I was publishing post on my site. And visitors often visited my site. But, my website is being redirected to another website which i don't know. When any person writes www.XYZ.com on his browser and attempt to visit, the site is redirected to www.ABC.com. As a result no one can visit my website now. When they attempt to visit my site they are taken to www.ABC.com. I did not redirected my website. And only i know all passwords regarding my site. I have found no html to redirect in my wordpress's index file. What is the solution?

SHARE
Answered By 0 points N/A #85175

My website is redirected to another website.

qa-featured

Hi,

It is a coding error. Or someone infiltrated your website and changed program code of your website. For this it’s redirecting to other website. Most of the website designed its redirecting option in Java Script. That’s why I am giving solution on Java Script.

Resirect is  a function on Java Script. It looks like this

<script type=”text/javascript”>

Function redirect  ()

{   window.open(http://www.google.com)  }            //just example

</script>

<body>

<input type=”button” name=”click” value=”” on click=” redirect  ()”;/>

</body>

Solution is open your home page in notepad or Dreamweaver in code mode. Then find this line <input type=”button” name=”click” value=”” on click=” redirect ()”;/> in its body section then delete it and save coed editor.                                                                              

 //just example

Login/Register to Answer

Related Questions