Start ::
PostNuke 0.7 Support ::
Core Modules & Blocks ::
Links module can cause 'Google-jacking'
Moderated by: Support Team
-
- rank:
-
Freshman
- registered:
- August 2004
- Status:
- offline
- last visit:
- 26.03.07
- Posts:
- 26
For those of you unaware of the 'Google-jacking' phenomena take a look at http://www.webmasterworld...forum30/28329-1-10.htm
In short it is a process where a site linking to another site by means of a http 302 redirect can under very commom circumstances take credit (and Google ranking) from the site it links to and remove the other site from Google.
The links module in PostNuke uses exactly this method and I have now seen one of my PostNuke sites 'Google-jack' another of my sites.
Does anybody know how to make the links module use a 301 redirect instead? -
- rank:
-
Freshman
- registered:
- August 2004
- Status:
- offline
- last visit:
- 26.03.07
- Posts:
- 26
I don't think you do have to be a member of WebmasterWorld to view threads, it's free anyway and in my opinion the best money I never spent!
Anyway here's my fix - add this line:
Header('HTTP/1.1 301 Moved Permanently');
before the:
Header('Location: '.$URL);
at around line 285 this does the trick.
-----
a-connect - cornwall -
- rank:
-
Professional
- registered:
- September 2003
- Status:
- offline
- last visit:
- 21.10.07
- Posts:
- 2423
..hmmm.. something that should "only" be applied to the weblinks mod.. and, i guess, banners too (umm.. downloads for external links?).. adding it to the API could cause problems..
-----
http://www.invalidresponse.com -
- rank:
-
Professional
- registered:
- October 2004
- Status:
- offline
- last visit:
- 08.01.07
- Posts:
- 999
Sheesh. I had a completely different picture when I read the expression Google jacking."
-----
Over 500 Xanthia and AutoThemes
XanthiaThemes.com
AutoThemes.com -
- rank:
-
Software Foundation
- registered:
- Status:
- offline
- last visit:
- 07.08.08
- Posts:
- 4470
fixed in /banners.php and /modules/Web_Links/wl-util.php
thx for reporting - next time please use our bugtracker
-----
regards from germany
..::[Zikula Application Framework]::.. ..::[SEO-Blog]::.. ..::[CMS Sicherheit]::.. -
- rank:
-
Softmore
- registered:
- December 2003
- Status:
- offline
- last visit:
- 16.01.07
- Posts:
- 70
Good man, Larsneo, the fix works fine (as a matter of interest, does Autolinks not need a similar fix?).
I would like to stress the importance of this and explain a bit for those who can't see the webmasterworld thread for whatever reason. The problem is that a 302 is interpreted by the googlebot as duplicate content, which it attributes to both the page linked to and the non-existent page created when the redirect-link is clicked on (it can't tell the difference between http://www.yoursite.com/W...req-visit-lid-xxxx.htm (or the long URL version) and a real page). There is nothing particularly evil about this, except that unscrupulous types have been exploiting it to "hijack" other people's hard-earned content, mainly to get AdSense revenue, I think. It works like this: if a page with a reasonable PR has a 302-redirect-type-link to a significantly lower ranked page, the non-existent page will get better placed in Google, and to make matters worse, Google's anti-duplicate content policy may penalize the less well established page, and actually take PR away from it. Cases abound of people spending months putting together the definitive site on, say, Coleridge or quilting, only to find that a few months after launching, their PR has shrunk to nothing, while the parasites have grown fat. Apparently, webmasters have been getting progressively hotter under the collar about the issue for years, now, with justification, and pressure is on for Google to put things right. Some with less faith in Google's ability to do so are putting together anti-302 scripts of one kind or another, and creating blacklists of 302-abusers. So, by eschewing nasty, dirty 302s in favour of clean and shiny 301s, Postnukers should win out, by:
i) not getting blacklisted, on however petty a scale;
ii) avoiding the wrath of Google (something to be dreaded, even if it is being pretty slow about getting wrathful);
ii) being on the side of the righteous and good (as true Postnukers always are, of course).
In other words, the sooner this is included in the standard PostNuke package, the better, IMHO.
Start ::
PostNuke 0.7 Support ::
Core Modules & Blocks ::
Links module can cause 'Google-jacking'
