MyBB Community Forums

Full Version: User HomePage strange nofollow
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Guys I can understand where is this nofollow coming from it's not in the memeber.php I don't have any plugin that do that strange thing any idea maybe it's a default setting?

<tr>
<td class="trow1" width="40%"><strong>Homepage:</strong></td>
<td class="trow1"><a rel="nofollow" href="http://google.com" target="_blank">http://google.com</a></td>
</tr>

P.S. For some reason Google SEO plugin is doing that how to stop that????
(2013-12-05, 06:07 PM)marcus123 Wrote: [ -> ]Guys I can understand where is this nofollow coming from it's not in the memeber.php I don't have any plugin that do that strange thing any idea maybe it's a default setting?

<tr>
<td class="trow1" width="40%"><strong>Homepage:</strong></td>
<td class="trow1"><a rel="nofollow" href="http://google.com" target="_blank">http://google.com</a></td>
</tr>

This code is from user profile.
So... in a previous request, you asked for a plugin to add 'nofollow' for external links and I given an example there but NOT affect user profile.
Anyway... by default, I don't think that MyBB will add 'nofollow' to links from user profile.

In member.php file search and check this code (line 1569 - MyBB 1.6.11):
	$website = '';
	if($memprofile['website'])
	{
		$memprofile['website'] = htmlspecialchars_uni($memprofile['website']);
		$website = "<a href=\"{$memprofile['website']}\" target=\"_blank\">{$memprofile['website']}</a>";
	}
As you can see, there is the place where is evaluated the website entered by a user in "User CP".
Are really sure that you don't use any plugin (with hooks related to user profile) to add 'nofollow' ?

L.E.: Uh... sorry... I did not see this:
(2013-12-05, 06:07 PM)marcus123 Wrote: [ -> ]P.S. For some reason Google SEO plugin is doing that how to stop that????
Thanks very much, Google seo plugin adds nofollow to member homepage in profile however I have nofollow function disabled has to be a small bug!