YaBB Community and Support Forum
YaBB Home About YaBB Download YaBB YaBB Support Customize Your Forum Development Contribute to the Project
  Welcome, Guest. Please Login or Register


 
Pages: 1 2 
Topic Tools
 
Some SEO implementations (Read 11,826 times)
 Jun 22nd, 2009 at 9:28am
There are no actions to perform.  

AntonioK 
Senior Member
****
Offline
Posts: 978
Russian Federation


None
Some SEO implementations
I added
Code Select All
<a ... rel="nofollow" ></a> 


attribute to some staff and JS links.

This attribute prevents many web-spiders to follow link and restricts Google and some other bots to count link with it in PageRank passing calculations (what is good for SEO purposes). So that thing should be used everywhere, where we
1. don't want spiders to index link's URL (like ?tsort=)
2. this URL aren't accessible by guests (like ?action=viewprofile, etc.)
3. this isn't nornmal URL (like "#" or "javascript: something();" etc.)

This attribute do nothing to browser output and functionality.


New ./Sources/Profile.pl in SVN
« Last Edit: Jun 22nd, 2009 at 9:33am by AntonioK »  
If you're interested on History... If you have some sense of humour... The Historian of Female.
WWW AntonioK istorichka.ru 289899292  
IP Logged  
 Reply #1 - Jun 22nd, 2009 at 9:46am
There are no actions to perform.  

AntonioK 
Senior Member
****
Offline
Posts: 978
Russian Federation


None
Re: Some SEO implementations
New
     cgi-bin/yabb2/Sources/Search.pl
     cgi-bin/yabb2/Sources/Poll.pl
     cgi-bin/yabb2/Sources/MessageIndex.pl
     cgi-bin/yabb2/Sources/Post.pl
     cgi-bin/yabb2/Sources/Favorites.pl
     cgi-bin/yabb2/Sources/Display.pl
     cgi-bin/yabb2/Sources/Notify.pl
     cgi-bin/yabb2/Sources/Load.pl
     cgi-bin/yabb2/Sources/BoardIndex.pl
     cgi-bin/yabb2/Sources/Recent.pl
     cgi-bin/yabb2/Sources/InstantMessage.pl
     cgi-bin/yabb2/Sources/MyCenter.pl

in SVN.
 
If you're interested on History... If you have some sense of humour... The Historian of Female.
WWW AntonioK istorichka.ru 289899292  
IP Logged  
 Reply #2 - Jun 22nd, 2009 at 5:52pm
There are no actions to perform.  

deti 
Legacy Dev Team
Development Team
****
Offline
Posts: 2,650
Prien am Chiemsee, Germany


None
Re: Some SEO implementations
Hmmmm, can you please discuss this things before you change it in SVN (or ask me via PM).

I remember removing many of this "nofollow" some time ago because this links normally shouldn't be visible for bots (Guests) anyway. As normal users normally don't parse the HTML this "nofollow" attributes are useless and only grow up the code send to the browser. And if you still find some of them visible to Guest, then the method of choice is, in my opinion, not to add this attribute but to modify the Perl code in a way this links aren't shown any more to Guests, because only then they are not available to all bots, what should be our overall goal.

So I suggest to remove ALL this attributes again and to check each of those links if they are accessible by Guest.
« Last Edit: Jun 22nd, 2009 at 6:54pm by deti »  
Was immer Du tun kannst
oder erträumst tun zu können,
beginne es.
Kühnheit besitzt Genie,
Macht und magische Kraft.
Beginne es jetzt.
Whatever you can do
or dream you can,
begin it.
Boldness has genius,
power and magic in it.
Begin it now.
J. W. Goethe
WWW  
IP Logged  
 Reply #3 - Jun 22nd, 2009 at 5:55pm
There are no actions to perform.  

Jet Li 
Legacy Dev Team
Development Team
****
Offline
Posts: 6,588
Hong Kong


None
Re: Some SEO implementations
deti wrote on Jun 22nd, 2009 at 5:52pm:
I remember removing many of this "nofollow" some time ago

I can remember too from 2.2 or so.
 
...
PM me for YaBB Installation Service
WWW Jet Li 100000788351637  
IP Logged  
 Reply #4 - Jun 23rd, 2009 at 3:28pm
There are no actions to perform.  

AntonioK 
Senior Member
****
Offline
Posts: 978
Russian Federation


None
Re: Some SEO implementations
@
deti, there are some of user-end-based bots too, like Teleport pro.

What is your argument against nofollow? Traffic?
 
If you're interested on History... If you have some sense of humour... The Historian of Female.
WWW AntonioK istorichka.ru 289899292  
IP Logged  
 Reply #5 - Jun 23rd, 2009 at 5:48pm
There are no actions to perform.  

deti 
Legacy Dev Team
Development Team
****
Offline
Posts: 2,650
Prien am Chiemsee, Germany


None
Re: Some SEO implementations
AntonioK wrote on Jun 23rd, 2009 at 3:28pm:
there are some of user-end-based bots too, like Teleport pro.

Do they obey the rel="..." attribute?

AntonioK wrote on Jun 23rd, 2009 at 3:28pm:
What is your argument against nofollow? Traffic?

No, not really the traffic. For me it is just a useless code we have to maintain, on that we have to think every time we add a new link somewhere to make it consistent with the rest of the code. If we let it out it probably will not make difference to any user and we don't need to think about it any more. For me it's just a unnecessary fad. Smiley
 
Was immer Du tun kannst
oder erträumst tun zu können,
beginne es.
Kühnheit besitzt Genie,
Macht und magische Kraft.
Beginne es jetzt.
Whatever you can do
or dream you can,
begin it.
Boldness has genius,
power and magic in it.
Begin it now.
J. W. Goethe
WWW  
IP Logged  
 Reply #6 - Jun 23rd, 2009 at 5:59pm
There are no actions to perform.  

AntonioK 
Senior Member
****
Offline
Posts: 978
Russian Federation


None
Re: Some SEO implementations
deti wrote on Jun 23rd, 2009 at 5:48pm:
Do they obey the rel="..." attribute?

Some of them - difenitely. I cant provide you enough documentation to get evidence that I am right.

deti wrote on Jun 23rd, 2009 at 5:48pm:
For me it is just a useless code we have to maintain, on that we have to think every time we add a new link somewhere to make it consistent with the rest of the code.

I guess about it, so I took this to myself. It is up to my own experience: big forum like YaBB with >1k topics - is perfect stuff to earn PageRank by free, and it isn't a link-farm, course there are a lot of unique content on every alive forum. More bots-unliked links are closed ==> less PR abused ==> more PR on main pages ==> more search engines traffic.

We need to decide about it, course I want to check & close with this feature much more links in interface.


Not to show to guests links that aren't work for guest - is also necessary & good, but your arguments (support more code, remember about it when coding and think about on every new link added) is also relevant for checks of this kind.

Also, as I already said, there are a lot of JS, that needs nofollow, too.
 
If you're interested on History... If you have some sense of humour... The Historian of Female.
WWW AntonioK istorichka.ru 289899292  
IP Logged  
 Reply #7 - Jun 23rd, 2009 at 6:07pm
There are no actions to perform.  

deti 
Legacy Dev Team
Development Team
****
Offline
Posts: 2,650
Prien am Chiemsee, Germany


None
Re: Some SEO implementations
AntonioK wrote on Jun 23rd, 2009 at 5:59pm:
Also, as I already said, there are a lot of JS, that needs nofollow, too.

Why do they need nofollow? I don't know bots following JS anyway.


AntonioK wrote on Jun 23rd, 2009 at 3:28pm:
there are some of user-end-based bots too, like Teleport pro.

Do you really know that they register themselves? From where?
Can you show us an link to an profile-page of a YaBB-forum on an bots-page?
« Last Edit: Jun 23rd, 2009 at 6:14pm by deti »  
Was immer Du tun kannst
oder erträumst tun zu können,
beginne es.
Kühnheit besitzt Genie,
Macht und magische Kraft.
Beginne es jetzt.
Whatever you can do
or dream you can,
begin it.
Boldness has genius,
power and magic in it.
Begin it now.
J. W. Goethe
WWW  
IP Logged  
 Reply #8 - Jun 24th, 2009 at 10:11am
There are no actions to perform.  

AntonioK 
Senior Member
****
Offline
Posts: 978
Russian Federation


None
Re: Some SEO implementations
deti wrote on Jun 23rd, 2009 at 6:07pm:
Why do they need nofollow? I don't know bots following JS anyway.



Display.pl, line 555, rev 69
Code Select All
		## moderator alert button!
		if ($PMenableAlertButton && $PM_level && !$staff && (!$iamguest || ($iamguest && $PMAlertButtonGuests))) {
			$PMAlertButton = qq~$menusep<a href="$scripturl?action=modalert;num=$viewnum;title=PostReply;quote=$counter" onclick="return confirm('$display_txt{'alertmod_confirm'}');">$img{'alertmod'}</a>~;
		}
 




nofollow is necessary here, isn't it?
 
If you're interested on History... If you have some sense of humour... The Historian of Female.
WWW AntonioK istorichka.ru 289899292  
IP Logged  
 Reply #9 - Jun 24th, 2009 at 2:01pm
There are no actions to perform.  

Unilat 
Development Team
Theme Team
****
Offline
Posts: 1,047
Columbus Ohio, USA


None
Re: Some SEO implementations
!$iamguest implies that no guests can see the button, so bots will not see it either. But just put another condition in to make bots not be able to see it when the alert button is turned on for guests.

This is what deti is talking about. There should be no links available to guests and/or bots that need a nofollow because if we dont want them to follow the links, they shoudnt be there to begin with  Wink
« Last Edit: Jun 24th, 2009 at 2:03pm by Unilat »  
 
IP Logged  
 Reply #10 - Jun 24th, 2009 at 4:48pm
There are no actions to perform.  

deti 
Legacy Dev Team
Development Team
****
Offline
Posts: 2,650
Prien am Chiemsee, Germany


None
Re: Some SEO implementations
AntonioK wrote on Jun 24th, 2009 at 10:11am:
nofollow is necessary here, isn't it?

Yes. Good catch, I have nothing against you adding it on this!

Since this can be set to be visible to Guest, it must have it.
Code Select All
(!$iamguest || ($iamguest && $PMAlertButtonGuests)) 



Smiley

But what does this have to do with JS? (see your quote)


@Unilat
Unilat wrote on Jun 24th, 2009 at 2:01pm:
But just put another condition in to make bots not be able to see it when the alert button is turned on for guests.

Do you have an suggestion how to? Do you suggest something like
$iambot
as we have $iamguest or $iamadmin and then write there in addition to the nofollow:
Code Select All
(!$iamguest || (!$iambot && $iamguest && $PMAlertButtonGuests)) 


"In addition" because there may be bots we don't know they are.
« Last Edit: Jun 24th, 2009 at 5:19pm by deti »  
Was immer Du tun kannst
oder erträumst tun zu können,
beginne es.
Kühnheit besitzt Genie,
Macht und magische Kraft.
Beginne es jetzt.
Whatever you can do
or dream you can,
begin it.
Boldness has genius,
power and magic in it.
Begin it now.
J. W. Goethe
WWW  
IP Logged  
 Reply #11 - Jun 24th, 2009 at 6:51pm
There are no actions to perform.  

Unilat 
Development Team
Theme Team
****
Offline
Posts: 1,047
Columbus Ohio, USA


None
Re: Some SEO implementations
$iambot would be a nice variable to add. That way you can distinguish between an average guest and a bot. But yes, we dont know all the bots, but the bots we don't know will be even less likely to abide by the nofollow rule. Theres no harm in adding it, but it shouldnt be there if its a bot. Too bad we can't detect who's real and who's not  Cheesy
 
 
IP Logged  
 Reply #12 - Jun 24th, 2009 at 7:12pm
There are no actions to perform.  

deti 
Legacy Dev Team
Development Team
****
Offline
Posts: 2,650
Prien am Chiemsee, Germany


None
Re: Some SEO implementations
New
cgi-bin/yabb2/Sources/BoardIndex.pl
cgi-bin/yabb2/Sources/Load.pl
cgi-bin/yabb2/Sources/Subs.pl
in SVN.

Added $iambot global variable.

@
AntonioK
Please add this variable to the code (see my code above) when you add the nofollow. Thanks!
 
Was immer Du tun kannst
oder erträumst tun zu können,
beginne es.
Kühnheit besitzt Genie,
Macht und magische Kraft.
Beginne es jetzt.
Whatever you can do
or dream you can,
begin it.
Boldness has genius,
power and magic in it.
Begin it now.
J. W. Goethe
WWW  
IP Logged  
 Reply #13 - Jun 24th, 2009 at 8:02pm
There are no actions to perform.  

cepheid 
Senior Member
****
Offline
Posts: 516


None
Re: Some SEO implementations
deti wrote on Jun 24th, 2009 at 7:12pm:
Added $iambot global variable.

Awesome.  This is step 1 to implementing a "sparse" output for bots, to increase SEO. Smiley
 
WWW  
IP Logged  
 Reply #14 - Jun 24th, 2009 at 8:51pm
There are no actions to perform.  

AntonioK 
Senior Member
****
Offline
Posts: 978
Russian Federation


None
Re: Some SEO implementations
Nope!! Stop!!! Giving one output for humans and another for bots is named "cloaking" and it is kind of "black SEO" (see wikipedia). Most of search engine's policy restricts to use that (Google and Yandex - surely), many of them could ban site (not show it in Search Result Pages) if decided site using cloaking.

Second minus of that way is that sometimes we are going to get (because of something we can't imagine now) $iambot=TRUE for a human, so he will not see something he might.

My method is easer and more safe that yours. Also, IMHO additionals checks (like you want or some other) are make the code more unclear, that the same "nofollow" on every staff link.

Why should we nofollow to the js-links without any valid URL (like a href="javascript: void(0);" onclick="smth()")? It is my over-insuranse. I can imagine sometimes search engines just calculate number of <A href> on page to manipulate it's PageRank or something like that, without checking the ancor to existance of gived URL, but looking through the "nofollow". Why not to use it, if it IN GENERAL can't hurt something and was added (by Google, as I remeber) specially for that purpose?

You can say I am kind of paranoic =) But, I will repeat - MORE ADDITIONAL CONDITIONS in programm is not better than MORE ADDITIONAL HTML, wich don't really RUNS and gets CPU time to work.
« Last Edit: Jun 24th, 2009 at 8:53pm by AntonioK »  
If you're interested on History... If you have some sense of humour... The Historian of Female.
WWW AntonioK istorichka.ru 289899292  
IP Logged  
Pages: 1 2 
Topic Tools
 

Get Yet another Bulletin Board at SourceForge.net. Fast, secure and Free Open Source software downloads Support This Project BoardMod - YaBB features and templates YaBB Codex - support on installation and usage YaBB Toolbar for your browser

YaBB Facebook Group Page

Vulnerability Scanner

Valid RSS Valid XHTML Valid CSS Powered by Perl
YaBB Chat and Support Community » Powered by YaBB 3.0 Beta!
YaBB Forum Software © 2000-2011. All Rights Reserved.