How to make links dofollow?

Register an Account
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 03-08-2010, 04:04 PM
New Pligger
 
Join Date: Mar 2010
Posts: 2
I have edited link_summary.tpl file and changed rel="nofollow" to rel="dofollow" but it made only the links in UPCOMING NEWS dofollow, the links on main page PUBLISHED NEWS do not have dofollow or nofollow tag.

How can I put dofollow on that links too?

Looking forward to hearing from you.
Reply With Quote
  #2 (permalink)  
Old 03-08-2010, 06:21 PM
Yankidank's Avatar
Pligg Founder/Coder/Designer
Pligg Version: SVN
Pligg Template: Wistie
 
Join Date: Dec 2005
Location: Ocala, FL
Posts: 4,934
Send a message via AIM to Yankidank
Look around the same area that you changed. There is an {if} statement that determines if the story is published or upcoming. If it is published, by default Pligg will not put a "nofollow" tag. It was designed that way to give spammers less reason to submit spam since their links won't be followed by search engines.

The Twitter Module for Pligg CMS!
Register, Login, and Submit Stories with Twitter. An absolute MUST HAVE for all Pligg sites!
Reply With Quote
  #3 (permalink)  
Old 03-08-2010, 10:40 PM
Ascendancy's Avatar
Constant Pligger/Coder
Pligg Version: 1.2.0
Pligg Template: Custom
 
Join Date: Jan 2008
Location: Boston, MA
Posts: 131
Send a message via AIM to Ascendancy
The easiest way is to use the Robots meta tag in your header. Remove all of the nofollow and dofollow from links, and then add this tag to your head section:

HTML Code:
<meta name="robots" content="index, follow" />

Pligg Developer for ~2 years
Snoggle News
Reply With Quote
  #4 (permalink)  
Old 03-13-2010, 02:20 PM
cmstheme's Avatar
Donor/Coder
Pligg Version: 9.9
Pligg Template: Squaretle
 
Join Date: Jan 2007
Location: Philippines
Posts: 528
There's no value and attribute such as rel="dofollow" - it means that without rel="nofollow", it automatically becomes a dofollow link. What you should do is just remove the rel="nofollow"

In link_summary.tpl, find the two instances of:
PHP Code:
<a href="{$url}" {if $open_in_new_window eq truetarget="_blank"{/if} {if $story_status neq "published"}rel="nofollow"{/if}>{$title_short}</a
then replace with:
PHP Code:
<a href="{$url}" {if $open_in_new_window eq truetarget="_blank"{/if}>{$title_short}</a
Reply With Quote
  #5 (permalink)  
Old 12-08-2010, 05:48 PM
automated's Avatar
New Pligger
Pligg Version: 1.1.2
Pligg Template: ExpandedList
 
Join Date: Nov 2010
Location: on ASUS
Posts: 7
Quote:
Originally Posted by cmstheme View Post
There's no value and attribute such as rel="dofollow" - it means that without rel="nofollow", it automatically becomes a dofollow link. What you should do is just remove the rel="nofollow"

In link_summary.tpl, find the two instances of:
PHP Code:
<a href="{$url}" {if $open_in_new_window eq truetarget="_blank"{/if} {if $story_status neq "published"}rel="nofollow"{/if}>{$title_short}</a
then replace with:
PHP Code:
<a href="{$url}" {if $open_in_new_window eq truetarget="_blank"{/if}>{$title_short}</a
Work. I need this ... thank you.
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Build Links - How to integerate IBL Builder into Pligg thefandango Questions and Comments 5 10-14-2011 02:55 AM
Anyone use dofollow links on their pligg site? maxerg Questions and Comments 6 02-16-2011 11:13 AM
how to make category links clickable oobie11 Questions and Comments 2 05-05-2009 03:23 AM
Related links AnAlienHolakres3 Questions and Comments 9 08-24-2008 02:29 AM
How to make links out direct? sherwood Questions and Comments 8 06-04-2007 11:46 PM


Pligg Modules and Pligg Templates from Pligg Pro Find support on the Pligg CMS Forum - 24 hours a day! Make a donation to support Pligg CMS development