1
tgotch
Mylinks and Google
  • 2005/4/23 13:59

  • tgotch

  • Just popping in

  • Posts: 66

  • Since: 2005/1/31


HI,
I was looking through my stats, and saw quite a few searches for "Harvey Westbury Corp" I checked google, and here is the search:

http://www.google.com/search?hl=en&lr ... westbury+corp&btnG=Search

The strange thing is, google shows the URL as my site (http://www.netboater.com/modules/mylinks/visit.php?cid=13&lid=62), but goes directly to: garrysroyalsatin.com, bypassing my site completely.

Anyone know why this is?

2
jdseymour
Re: Mylinks and Google

Because the link is just like clicking on a link from within the module. It takes you to the site via visit.php.

3
tgotch
Re: Mylinks and Google
  • 2005/4/23 14:25

  • tgotch

  • Just popping in

  • Posts: 66

  • Since: 2005/1/31


Hmmm...Is there anyway to prevent this?

4
jdseymour
Re: Mylinks and Google

Robots.txt add mylinks to disallow. Then the links will not be indexed. But I do not think that is what you want.

5
tgotch
Re: Mylinks and Google
  • 2005/4/23 16:48

  • tgotch

  • Just popping in

  • Posts: 66

  • Since: 2005/1/31


No, but it would be nice if they were to stop by my site instead of going right to the linked site.

Any way to do this?

6
jdseymour
Re: Mylinks and Google

Google is going through your site to get there. They just don't stop to say Hi. Googles job is to find relevant links to sites, and only offer links to the sites requested. If they stopped at every site that had a link, and the user had to click again to get there google would quickly loose users.

So they are still using your site, just going through and not stopping.

HTH.

7
maumed
Re: Mylinks and Google
  • 2005/4/23 18:53

  • maumed

  • Just popping in

  • Posts: 50

  • Since: 2004/10/18


Just an idea... Maybe checking the referer, to see if the link was accessed from outside our site, and then check the user agent to see if its an important search engine, like google, msn or yahoo... in this case, we can redirect to the "singlelink" page.

anyone can implement this?

[]s
Mauricio

8
builderb
Re: Mylinks and Google
  • 2005/4/23 19:01

  • builderb

  • Not too shy to talk

  • Posts: 137

  • Since: 2003/8/4 2


Add this line:

$xoopsTpl->assign('xoops_meta_robots''noindex, nofollow');


Just above the last line "?>"

This will tell the search engines not to index or follow the link.

-B

9
maumed
Re: Mylinks and Google
  • 2005/4/23 19:09

  • maumed

  • Just popping in

  • Posts: 50

  • Since: 2004/10/18


Fantastic

But exactly where should i put that? On the singlelink page?

i was looking now... theres links to the site on the cat view and in the singlepage... but if a put that line of code on the cat view, google wont index the singlelink, were the description of the link is....

[]s
Mauricio

10
m0nty
Re: Mylinks and Google
  • 2005/4/23 20:05

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


i'm not entirely up on robots, but would just having index instead of noindex work? as nofollow will stop it following..

but i dunno if google will penalise u for it..

Login

Who's Online

62 user(s) are online (34 user(s) are browsing Support Forums)


Members: 0


Guests: 62


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Aug 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits