Hi
Autolink (
http://modxcms.com/Autolink-507.html) is a great module and well worth checking out if you’d like to optimize your site.
Does anybody know if Autolink can be used to detect 1 keyword occurrence per page and then link to it? I tried editing the preg_replace functions to specify a limit of 1
$substitute = preg_replace(’/\b’ . htmlentities($keyword) . ’\b/’, $kmatch[0], $substitute,1) , but all that has achieved is locating the same keyword once per paragraph.
Any suggestions would be greatly appreciated