phpBB SEO
Boards
Directory  
SEO  
Downloads
  phpBB SEO : Search Engine Optimization, Directory, Forums  
Index
Forums
Annuaire
Référencement
Télécharger
 
  Search Rechercher
    Register
Username :  Password :  Log me on automatically each visit  
S'enregistrer  
 
   
how can i disable the links in text body ?
Goto page Previous  1, 2, 3  Next
 
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB Forum
::  
Author Message
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 14279

how can i disable the links in text body ?Posted: Tue Dec 12, 2006 3:19 pm    Post subject: Re: how can i disable the links in text body ?

Oh yes, in the same file, you need as well to find :
Code:

   $ret = preg_replace("#(^|[\n ])((www|ftp)\.[\w\#$%&~/.\-;:=,?@\[\]+]*)#is", "\\1<a href=\"http://\\2\" target=\"_blank\">\\2</a>", $ret);


And replace with :
Code:
   // www.phpBB-SEO.com SEO TOOLKIT BEGIN
   $ret = preg_replace("#(^|[\n ])((www|ftp)\.[\w\#$%&~/.\-;:=,?@\[\]+]*)#is", "\\1<a href=\"http://\\2\" rel=\"nofollow\" target=\"_blank\">\\2</a>", $ret);
   // www.phpBB-SEO.com SEO TOOLKIT END


Wink

_________________
Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche
Back to top
Visit poster's website
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 14279

how can i disable the links in text body ?Posted: Mon Jan 22, 2007 5:58 pm    Post subject: Re: how can i disable the links in text body ?

This can be good as well : deter comment spam mod, which adds :
Code:
rel="nofollow"

and is configurable to strip the tag for selected domains.

++

_________________
Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche
Back to top
Visit poster's website
AmirAbbas
phpBB SEO Team
phpBB SEO Team


Joined: 11 May 2006
Posts: 529
Location: IRAN

how can i disable the links in text body ?Posted: Tue Jan 30, 2007 8:05 am    Post subject: Re: how can i disable the links in text body ?

oops ! Shocked

this one is very useful. thanks Wink

_________________
چهار گوش - طراحی وب - مجله طراحی وب
Back to top
Visit poster's website
emielvenlo
PR0
PR0


Joined: 21 Jan 2007
Posts: 79

how can i disable the links in text body ?Posted: Wed Sep 12, 2007 1:05 pm    Post subject: Re: how can i disable the links in text body ?

I really like this discussion. Because when you look @ the vbseo mod* you will see really a lot of the internal and external links are nofollow. They allsow use the nofollow so that the search engine does not spider some parts of the forum, like users, faq and that kind of stuf. I have heard it is a better way than using robots.txt.

* A mod for vbulletin with pretty urls and other seo optimizations.
Back to top
Visit poster's website
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 14279

how can i disable the links in text body ?Posted: Thu Sep 13, 2007 8:26 am    Post subject: Re: how can i disable the links in text body ?

Yahoo does not really take the nofollow tag into account, but does follow the robots.txt disallows.

I'm not 100% found of the nofollow tag, it can be handy, but the Internet would be a bit "sad" if no one would share a bit of his PageRank.
It's pretty normal to post link to pages we like, and this is the exact meaning of PageRank : try to find out what page are appreciated the most by real users.

So yes, it can really help out to fight against spam, but again, we cannot really treat everyone as a spammer, that would be going a bit too far IMHO.

++

_________________
Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche
Back to top
Visit poster's website
emielvenlo
PR0
PR0


Joined: 21 Jan 2007
Posts: 79

how can i disable the links in text body ?Posted: Thu Sep 13, 2007 8:30 am    Post subject: Re: how can i disable the links in text body ?

dcz wrote:
So yes, it can really help out to fight against spam, but again, we cannot really treat everyone as a spammer, that would be going a bit too far IMHO.

++


I agree, but in vbseo it is allso used for letting the bots not go to unimportand pages like we put in the robots.txt. And someone said to me that with a nofollow tag is better than robots.txt, but maybe its better to use both.
Back to top
Visit poster's website
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 14279

how can i disable the links in text body ?Posted: Thu Sep 13, 2007 9:09 am    Post subject: Re: how can i disable the links in text body ?

dcz wrote:
Yahoo does not really take the nofollow tag into account, but does follow the robots.txt disallows.


The robots.txt is enough, but you can add nofollow as well on useless pages link among your site.

++

_________________
Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche
Back to top
Visit poster's website
ultimatehandyman
PR2
PR2


Joined: 15 Mar 2007
Posts: 209

how can i disable the links in text body ?Posted: Thu Sep 13, 2007 3:56 pm    Post subject: Re: how can i disable the links in text body ?

I just added the first mod that makes the links non clickable and it works a treat.

Thanks dcz Wink

_________________
DIY | DIY directory |DIY forum
Back to top
ultimatehandyman
PR2
PR2


Joined: 15 Mar 2007
Posts: 209

how can i disable the links in text body ?Posted: Mon Sep 17, 2007 4:19 pm    Post subject: Re: how can i disable the links in text body ?

ultimatehandyman wrote:
I just added the first mod that makes the links non clickable and it works a treat.

Thanks dcz Wink


It worked on the first day, but a guy has just been in my forum and posted a live link with only one post Confused

_________________
DIY | DIY directory |DIY forum
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 14279

how can i disable the links in text body ?Posted: Tue Sep 18, 2007 11:14 am    Post subject: Re: how can i disable the links in text body ?

dcz wrote:
This can be good as well : deter comment spam mod, which adds :
Code:
rel="nofollow"

and is configurable to strip the tag for selected domains.

++


This mod will add the nofollow tag on bbcode links.

It's not that easy to disable bbcode links based on user posts.

++

_________________
Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche
Back to top
Visit poster's website
ultimatehandyman
PR2
PR2


Joined: 15 Mar 2007
Posts: 209

how can i disable the links in text body ?Posted: Tue Sep 18, 2007 11:17 am    Post subject: Re: how can i disable the links in text body ?

dcz wrote:
dcz wrote:
This can be good as well : deter comment spam mod, which adds :
Code:
rel="nofollow"

and is configurable to strip the tag for selected domains.

++


This mod will add the nofollow tag on bbcode links.

It's not that easy to disable bbcode links based on user posts.

++


I already have that installed as you recommended it before Wink

Thanks Wink

_________________
DIY | DIY directory |DIY forum
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 14279

how can i disable the links in text body ?Posted: Tue Sep 18, 2007 12:07 pm    Post subject: Re: how can i disable the links in text body ?

So the active link you mentioned must have had the no-follow tag or ?

_________________
Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche
Back to top
Visit poster's website
ultimatehandyman
PR2
PR2


Joined: 15 Mar 2007
Posts: 209

how can i disable the links in text body ?Posted: Tue Sep 18, 2007 2:54 pm    Post subject: Re: how can i disable the links in text body ?

dcz wrote:
So the active link you mentioned must have had the no-follow tag or ?


Yes it had the no-follow tag, but when I originally changed the code at the start of this thread any links posted by new people were not clickable and so you had to copy and paste the url into the address bar. Then for some reason they were clickable- perhaps the poster added the url tags to it manually.

_________________
DIY | DIY directory |DIY forum
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 14279

how can i disable the links in text body ?Posted: Thu Sep 20, 2007 8:10 am    Post subject: Re: how can i disable the links in text body ?

That's just the difference between raw url and url posted using bbcodes.

++

_________________
Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche
Back to top
Visit poster's website
loveseo
PR0
PR0


Joined: 29 Aug 2007
Posts: 73
Location: Egypt

how can i disable the links in text body ?Posted: Wed Oct 24, 2007 10:05 pm    Post subject: Re: how can i disable the links in text body ?

i hope MR dcz or MR Seo make mod to allow us put som links to white list
Back to top
Display posts from previous:   
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB Forum
Page 2 of 3 Goto page Previous  1, 2, 3  Next

Navigation Similar Topics

Jump to: