Welcome to WebmasterWorld Guest from 54.234.63.220

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)

New User

5+ Year Member

joined:Jan 17, 2008
posts: 33
votes: 0


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)

New User

5+ Year Member

joined:Jan 17, 2008
posts:33
votes: 0


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

Preferred Member

10+ Year Member

joined:Apr 13, 2004
posts: 411
votes: 0


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)

Senior Member

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

joined:June 1, 2004
posts:3181
votes: 0


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

Senior Member

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

joined:Feb 11, 2003
posts:5067
votes: 11


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)

Senior Member from US 

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

joined:Nov 29, 2005
posts:6601
votes: 338


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)

New User

5+ Year Member

joined:Sept 26, 2008
posts:33
votes: 0


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

Junior Member

10+ Year Member

joined:July 4, 2005
posts:163
votes: 0


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

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members