loginlink() and printlink() causing unneccesarry traffic

Discussions and requests related to new CMSimple features, plugins, templates etc. and how to develop.
Please don't ask for support at this forums!
cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

loginlink() and printlink() causing unneccesarry traffic

Post by cmb » Wed May 30, 2012 12:32 am

Hello Developers,

I've just noticed that loginlink() and printlink() are causing unneccessary traffic from bots, as both functions do add &login resp. &print to the current page URL, but don't use rel="nofollow". Additionally this might result in DC -- I'm not sure, if e.g. ge_canonical caters for this.

Christoph
Christoph M. Becker – Plugins for CMSimple_XH

Gert
Posts: 3078
Joined: Fri May 30, 2008 4:53 pm
Location: Berlin
Contact:

Re: loginlink() and printlink() causing unneccesarry traffic

Post by Gert » Wed May 30, 2012 6:22 am

Hi Christoph,

both functions are causing <meta name="robots" content="noindex">,

Gert
Gert Ebersbach | CMSimple | Templates - Plugins - Services

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: loginlink() and printlink() causing unneccesarry traffic

Post by cmb » Wed May 30, 2012 10:09 am

Hi Gert,

so there's no problem regarding DC. But however, the bots will see this only after they've visitied the page, so there's still the small issue with unneccessary traffic (I assume bots revisit pages with "noindex" after a while, to see if that has changed).

Christoph
Christoph M. Becker – Plugins for CMSimple_XH

h-m-g
Posts: 5
Joined: Mon Jun 15, 2015 7:02 am

Re: loginlink() and printlink() causing unneccesarry traffic

Post by h-m-g » Tue Sep 01, 2015 1:51 pm

Einfache Lösung:
template.htm

Code: Select all

<?php echo str_replace('<a','<a rel="nofollow"',loginlink());?>

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: loginlink() and printlink() causing unneccesarry traffic

Post by cmb » Tue Sep 01, 2015 3:47 pm

h-m-g wrote:Einfache Lösung:
template.htm

Code: Select all

<?php echo str_replace('<a','<a rel="nofollow"',loginlink());?>
Soweit ich weiß[1], hätte das nicht den gewünschten Effekt. Der (Google-)Bot folgt dem Verweis nämlich dennoch, nur wird der Link für das Ranking nicht berücksichtigt.

PS: [1] mittlerweile weiß ;)
Christoph M. Becker – Plugins for CMSimple_XH

h-m-g
Posts: 5
Joined: Mon Jun 15, 2015 7:02 am

Re: loginlink() and printlink() causing unneccesarry traffic

Post by h-m-g » Tue Sep 01, 2015 4:38 pm

Googlebot mag "nofollow"-Links - eben weil er ihnen nicht sinnlos folgen muss:
Wie behandelt Google mit "nofollow" gekennzeichnete Links?
Im Allgemeinen folgen wir diesen nicht. Das bedeutet, dass von Google über diese Links kein PageRank und kein Ankertext übermittelt wird. Bei Verwendung von nofollow werden die Ziellinks also nicht für unsere Gesamtdarstellung des Webs berücksichtigt. ... Da sich Suchmaschinenrobots nicht als Mitglied bei einem Forum anmelden oder registrieren lassen können, ist es wenig sinnvoll, den Googlebot Links wie "Hier registrieren" oder "Anmelden" verfolgen zu lassen. Werden derartige Links mit dem Attribut nofollow versehen, kann der Googlebot andere Seiten crawlen...

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: loginlink() and printlink() causing unneccesarry traffic

Post by cmb » Tue Sep 01, 2015 4:47 pm

h-m-g wrote:Googlebot mag "nofollow"-Links - eben weil er ihnen nicht sinnlos folgen muss:
Stimmt – da habe ich wieder was dazugelernt. Danke!

Vielleicht sollten wir entsprechende rel=nofollow Attribute bei CMSimple_XH einbauen?
Christoph M. Becker – Plugins for CMSimple_XH

Holger
Site Admin
Posts: 3470
Joined: Mon May 19, 2008 7:10 pm
Location: Hessen, Germany

Re: loginlink() and printlink() causing unneccesarry traffic

Post by Holger » Wed Sep 02, 2015 9:10 am

cmb wrote:Vielleicht sollten wir entsprechende rel=nofollow Attribute bei CMSimple_XH einbauen?
+1

lck
Posts: 2967
Joined: Wed Mar 23, 2011 11:43 am
Contact:

Re: loginlink() and printlink() causing unneccesarry traffic

Post by lck » Mon Sep 07, 2015 6:40 pm

cmb wrote:Vielleicht sollten wir entsprechende rel=nofollow Attribute bei CMSimple_XH einbauen?
+1
Warum nicht, wenn es weniger Traffic verursacht.
„Bevor du den Pfeil der Wahrheit abschießt, tauche die Spitze in Honig!“   👉 Ludwig's XH-Templates for MultiPage & OnePage

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: loginlink() and printlink() causing unneccesarry traffic

Post by cmb » Mon Sep 07, 2015 7:51 pm

Ludwig wrote:
cmb wrote:Vielleicht sollten wir entsprechende rel=nofollow Attribute bei CMSimple_XH einbauen?
+1
Warum nicht, wenn es weniger Traffic verursacht.
Upps! Ganz vergessen zu erwähnen, dass ich das Thema bereits auf die Roadmap gepackt, und zu "sprint" #5 hinzugefügt habe (inklusive Patch).
Christoph M. Becker – Plugins for CMSimple_XH

Post Reply