2011-12-10, 03:50 PM
Last update : February 15, 2015
Hello,
This is a code modification and a MyCode to add the rel="nofollow" to all your external links (to save your Google Pagerank and get higher rankings)
If you don't allow Google Bot to crawl your website, or your website can't be read by guests, there's NO need to rel="nofollow" anything!
The following setting differs between 1.6 and 1.8 :
1.6
First of all, adding rel="nofollow" to "Homepage" links on users profiles, open your "member.php" file, find:
Replace it with:
Save and re-upload.
1.8
Go to your Admin CP > Templates & Style > (from the left menu) Templates > *Choose your template* > Member Templates > member_profile_website :
Change :
By :
1.6 & 1.8
go to your Admin CP, Configuration, MyCode, Add new MyCode:
Title: Nofollow
Short description: No follow links
Regular Expression :
Save.
(the following MyCode will enable the internal links to be followed by search engines)
Add new MyCode:
Title: Dofollow
Short Description: Dofollow links
Regular Expression:
Replace "YOURWEBSITE.TLD" by your website . tld (example google.com)
Enabled: Yes
Save.
DONE
Hello,
This is a code modification and a MyCode to add the rel="nofollow" to all your external links (to save your Google Pagerank and get higher rankings)
If you don't allow Google Bot to crawl your website, or your website can't be read by guests, there's NO need to rel="nofollow" anything!
The following setting differs between 1.6 and 1.8 :
1.6
First of all, adding rel="nofollow" to "Homepage" links on users profiles, open your "member.php" file, find:
$website = "<a href=\"{$memprofile['website']}\" target=\"_blank\">{$memprofile['website']}</a>";
Replace it with:
$website = "<a href=\"{$memprofile['website']}\" target=\"_blank\" rel=\"nofollow\">{$memprofile['website']}</a>";
Save and re-upload.
1.8
Go to your Admin CP > Templates & Style > (from the left menu) Templates > *Choose your template* > Member Templates > member_profile_website :
Change :
<a href="{$memprofile['website']}"
By :
<a href="{$memprofile['website']}" rel="nofollow"
1.6 & 1.8
go to your Admin CP, Configuration, MyCode, Add new MyCode:
Title: Nofollow
Short description: No follow links
Regular Expression :
<a href="http([s]?)://(.*?)"
Replacement : <a href="http$1://$2" rel="nofollow"
Enabled: YesSave.
(the following MyCode will enable the internal links to be followed by search engines)
Add new MyCode:
Title: Dofollow
Short Description: Dofollow links
Regular Expression:
<a href="http([s]?)://(|www\.)YOURWEBSITE.TLD(.*?)" rel="nofollow"
Replacement: <a href="http$1://$2YOURWEBSITE.TLD$3"
Replace "YOURWEBSITE.TLD" by your website . tld (example google.com)
Enabled: Yes
Save.
DONE