Welcome to WebmasterWorld Guest from 54.144.48.252

Forum Moderators: martinibuster

Message Too Old, No Replies

I need a tool to insert nofollow in all (external) links in my sites.

I need a tool to insert nofollow in all (external) links in my sites.

     
12:50 pm on Oct 6, 2008 (gmt 0)

5+ Year Member



Hi.
I need a tool to insert nofollow in all (external) links in my sites.

From where I can get such a thing?
Thanks.

8:40 pm on Oct 6, 2008 (gmt 0)

5+ Year Member



any ideas?
1:44 am on Oct 7, 2008 (gmt 0)

10+ Year Member



sorry to answer your question with a question but....

why do you want to insert nofollow in all of your external links? what is the benefit to that?

2:08 am on Oct 7, 2008 (gmt 0)

WebmasterWorld Senior Member billys is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Why not just put it into your site's template? Do you have one?
4:19 am on Oct 7, 2008 (gmt 0)

WebmasterWorld Senior Member wheel is a WebmasterWorld Top Contributor of All Time 10+ Year Member



If your site is static, and on a linux server, and you can get to a command prompt, then something like
perl -i -p -e 's/\<a\ /\<a\ rel\=nofollow/g'

or something like that (don't use that above, I don't know what I'm doing :) ). In any regards, perhaps try the linux section here. there's certainly an easy way to do this search and replace, using either the perl pie command or some funky grep command.

7:20 am on Oct 7, 2008 (gmt 0)

WebmasterWorld Senior Member tangor is a WebmasterWorld Top Contributor of All Time 5+ Year Member Top Contributors Of The Month



Some (probably most of the current generation) HTML editors provide Extended Search and Replace. This only works if your hrefs are standardized. You are certainly standardized in "</a>" and can insert your desired text in advance of that.
5:23 pm on Oct 7, 2008 (gmt 0)

5+ Year Member



There are softwares which can do that for you.
12:33 am on Oct 10, 2008 (gmt 0)

10+ Year Member



plug a regex replace into a script and iterate all of your pages. :)
 

Featured Threads

Hot Threads This Week

Hot Threads This Month