2013-06-22, 03:47 AM
Please MyBB developer help me I use this code and it adds nofollow to all including my internal urls please help me to make it work.
my internal url: http://letsforum.com
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: Yes
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: <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
my internal url: http://letsforum.com
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: Yes
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: <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