nukeSEO.com - PHPNuke SEO Search engine optimization, professional tools including nukeSEO, nukeSPAM, nukeFEED, nukePIE, nukeWYSIWYG and more

 

. Welcome to nukeSEO.com  ! 
.
.
.

Tag This



.
nukeSEO.com: Forums


 Forum FAQForum FAQ   SearchSearch   UsergroupsUsergroups   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

adding nofollow to links automatically
 
 
Post new topic   Reply to topic    nukeSEO.com Forum Index -> nukeWYSIWYG (tm)
View previous topic :: View next topic  
Author Message
floppy
webmaster


Joined: Jun 12, 2006
Posts: 23

PostPosted: Thu May 24, 2007 12:20 pm    Post subject: adding nofollow to links automatically Reply with quote

I been trying to find where it forms links. I want all my news article links to read

Code:
<a href="mypage.html" rel="nofollow">MY Page</a>


This guarantee's I am not sending my bots off to play on another page rather than continue'ing to index mine.

Any idea?
  
Back to top
View user's profile Send private message
kguske
Site Admin
Site Admin


Joined: May 12, 2005
Posts: 875

PostPosted: Thu May 24, 2007 10:28 pm    Post subject: Re: adding nofollow to links automatically Reply with quote

Hmmm...a couple of ideas:
- add the rel modifier to the A tag in $allowable_html in config.php, then manually add the rel="nofollow" when submitting news (not recommended, unless you are the only one to submit new)
- modify the modules/submit_news/index.php to insert rel="nofollow" on all a href tags with some sort of string replace (not hard in PHP). If this happens just before the SQL insert and after the HTML is checked, you shouldn't need to modify the config.php / $allowable_html.
I don't think there is a way to force the FCKeditor to force the rel=nofollow
_________________
  
Back to top
View user's profile Send private message Visit poster's website
floppy
PostPosted: Fri May 25, 2007 12:20 pm    Post subject: Re: adding nofollow to links automatically Reply with quote

Yeah, I think the php method is the only answer. I was hoping it was in the java or something. Sad

I will give it some play and post back my results.
  
Back to top
floppy
PostPosted: Sun May 27, 2007 8:09 pm    Post subject: Re: adding nofollow to links automatically Reply with quote

What a chore! Sheesh. This required custom edits to the admin side of news and still is a little buggy. Basically like you said though. Just an str_replace here and there.

Of course the only acceptable way was to format links like this

Code:
<a rel="nofollow" href="blahblah.com">


Which is ok with me. It didn't through up an XHTML flags that I can find.
  
Back to top
Guardian
webmaster


Joined: Dec 25, 2005
Posts: 364
Location: Vsetin, Czech Republic

PostPosted: Wed May 30, 2007 10:23 am    Post subject: Re: adding nofollow to links automatically Reply with quote

Nice follow up floppy - thanks!
  
Back to top
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic    nukeSEO.com Forum Index -> nukeWYSIWYG (tm) All times are GMT - 5 Hours
 
 Page 1 of 1

 

Jump to:   
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Powered by phpBB © 2001-2008 phpBB Group


Page Generation: 0.13 Seconds