Hi there. I am a complete newbie to modx. A previous employee left who was administering our website and this has been passed to me.
The output from webalizer shows that a number of links to viagra and other undesirable sites. There are no links to these sites in the home page or other pages as I have searched the database by logging in to it and also searched on the server for any files containing the word viagra. The only files it finds are those in the access logs.
I wonder how I could find any links in the modX framework which are causing this to happen.
Thank you.
-
☆ A M B ☆
- 24,524 Posts
These links are usually generated by Javascript that is inserted into your pages. What version of MODx are you using?
Yes I thought it might be some javascript but have no idea where to find the code that injects this.
-
MODX Staff
- 2,502 Posts
Do a search for a phrase via Google for your site and click through from Google results to the site, then see if you see links. There is an old hack that only triggers for people who visit your site via search engine.
Author of zero books. Formerly of many strange things. Pairs well with meats. Conversations are magical experiences. He's dangerous around code but a markup
magician.
Blog ✦
Twitter ✦
LinkedIn ✦
GitHub
Is there any redirection code for off-site links? Sometimes these can be spoofed through simple URL injection to create fake backlinks with an aim to increase the destination site's page rank.