Dynamo

3 replies to this thread. Most Recent

waltd

22 Jul 2017, 1:59 pm

Adding rel=nofollow

I’m trying to figure out a way to fix the spam problem here. I was able to code something very simply (once I remembered how few features Prototype 1.5 had) in JavaScript, but I have two concerns about that:

  1. Will it work in search engines?
  2. Can it be circumvented?

Here’s the code:

Can anyone recommend a way to do this in PHP (elderly version) without falling prey to common regex failings?

Thanks in advance,

Walter

Freeway user since 1997

http://www.walterdavisstudio.com

Tim Plumb

23 Jul 2017, 5:49 pm

Apologies for the late reply Walter.

I created a template helper tool for Pulse CMS a while ago that uses the PHP Simple HTML DOM Parser from http://simplehtmldom.sourceforge.net

Using the library you can target text links and search for and append attributes quite easily.

Regards, Tim.

Tim Plumb - Experienced Freeway designer for hire

FreewayActions.com - Freeware and commercial Actions for Freeway Express & Pro

FreewayStyle.com - Free Freeway templates and parts to download, use and explore