PDA

View Full Version : adding rel="author" to profile page links


glennybee
02-05-2013, 09:51 AM
Hi guys,

I am trying to link to my google plus profile in the profile pages of my users, see....

http://www.moneymakingexperts.org/members/3-mme-s-alan/

I have managed to create live links using this plugin...

https://vborg.vbsupport.ru/showthread.php?t=161271

I have added the plugin to include the rel="author" tag that i need to add to these links, but vbulletin seems to be stripping it out... any ideas....


if ($profilefield['value'] != '' AND $profilefield[profilefieldid] == 9)
{
$links = explode ("\n", $profilefield['value']);
$output = array();
foreach ($links as $link)
{
$link = trim($link);
if (!empty($link))
{
$ouput[] = '<a rel="author" href="' . $link . '">' . $link . '</a>';
}
}
$profilefield['value'] = implode('<br />', $output);

glennybee
02-05-2013, 11:17 AM
I think because vbulletin is automatically adding rel="nofollow" to the outgoing link, it is ignoring the rel="author" tag that i am adding?

--------------- Added 1360066925 at 1360066925 ---------------

even if i Disable Redirect Domain Checking in vbulletin options its still the same :-(

--------------- Added 1360067618 at 1360067618 ---------------

Got it, VBSEO was adding nofollow tags, added to whitelist and sorted.
Cheers