dcz wrote:I'll compile this into a mod when we'll have all the feature we want.
To add nofollow tag for the links posted without bbcode :
like this http://www.phpbb-seo.com/boards/
Open :
- Code: Select all
includes/bbcode.php
Find :
- Code: Select all
$ret = preg_replace("#(^|[\n ])([\w]+?://[\w\#$%&~/.\-;:=,?@\[\]+]*)#is", "\\1<a href="\\2" target="_blank">\\2</a>", $ret);
Replace with :
- Code: Select all
// www.phpBB-SEO.com SEO TOOLKIT BEGIN
$ret = preg_replace("#(^|[\n ])([\w]+?://[\w\#$%&~/.\-;:=,?@\[\]+]*)#is", "\\1<a href="\\2" rel="nofollow" target="_blank">\\2</a>", $ret);
// www.phpBB-SEO.com SEO TOOLKIT END
But this would concern all links, I'll see how to only add the nofollow tag to external links only.
++
Hey, here's an oldie but goodie.
I just figured out how to do this yesterday, and here you guys have figured it out already long ago. I thought I was so clever.
So, how important are internal links, anyway? This wouldn't affect topic titles on viewforum or anything, would it? If all your internal pages have links to them in the menu, that should be enough, right?

English |
French

