Tutorial

This is a Dolphin 7 tutorial that shows you how to set nofollow links on Join and Login near the top right of your website next to Hello, Guest!

Since my site is set to invitation only I see no sense in having the link followed by Google. Even if joining was enabled I still don't know that the join page is really that important for Google to follow, but that is up to you.

The same goes for the Login link that opens the pop-up window. I really don't see the point in having Google follow this one either. It is just a login form with almost no text or info. You will have to think about this one too.

It is not my intent to tell you to do so. I am simply showing you how to do it should you ever want to.





How to set or change Dolphin 7 Join and Login links to nofollow


Download a backup copy of /templates/base/scripts/BxBaseMenu.php to your local computer.

Then, find near the bottom:

$sAddons = _t('_Hello member', _t('_sys_breadcrumb_guest'));
$sAddons .= ' <a href="' . $this->sSiteUrl . 'join.php">' . _t('_sys_breadcrumb_join') . '</a>';
$sAddons .= ' <a href="javascript:void(0)" onclick="showPopupLoginForm(); return false;">' . _t('_sys_breadcrumb_login') . '</a>';



Change to:

$sAddons = _t('_Hello member', _t('_sys_breadcrumb_guest'));
$sAddons .= ' <a href="' . $this->sSiteUrl . 'join.php" rel="nofollow">' . _t('_sys_breadcrumb_join') . '</a>';
$sAddons .= ' <a rel="nofollow" href="javascript:void(0)" onclick="showPopupLoginForm(); return false;">' . _t('_sys_breadcrumb_login') . '</a>';


Save changes back to your host.

Clear Dolphin 7 cache if necessary.

Refresh your website or page.

Verify the changes by viewing page source code or using a Firefox addon.

Example viewing page source code:

Dolphin 7 Page Source Code



Example using a Firefox addon. Pink/red is nofollow and purple/blue is dofollow:

Firefox Addon Showing Nofollow



Note:
You could do Join, Login, both, or neither.

You might also be interested in this tutorial:
How to set Dolphin 7 footer links Nofollow

 
Written By
Tutorial by: Jeremy LeSarge (AKA Ray)

I am the owner and administrator of DialMe.com. I write Tutorials for Boonex Dolphin as well as tips and resources surrounding website programming and development. I enjoy working with WordPress, SEO, and Web Hosting / Servers. I also maintain a WordPress Blog here on this site where you will find a variety of technology and webmaster resources.

Actions
Recommend
Sponsored Links