Contact Us Forum Rules Search Archive
WebProWorld Part of WebProNews.com
Page One Link To Us Edit Profile Private Messages Archives FAQ RSS Feeds  
 

Go Back   WebProWorld > Webmaster, IT and Security Discussion > Webmaster Resources Discussion Forum
Subscribe to the Newsletter FREE!


Register FAQ Members List Calendar Arcade Chatbox Mark Forums Read

Webmaster Resources Discussion Forum Sitemaps and robots and logfiles -- Oh My! If you have any questions, comments, concerns and/or ideas about the tools currently available to webmasters to make their lives... 'easier'. Here's where you need to be. Know of a good tool? Post it here. Got something funny in your logfiles? Maybe we can help.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-14-2008, 11:00 AM
davidweb's Avatar
WebProWorld Pro
 

Join Date: Mar 2007
Posts: 154
davidweb RepRank 0
Default Is somebody playing Black Hat SEO trick on our site

Hello all,

I have observed a very strange phenomenon on one of our site.

We were checking pages crawled by Google by using following command :-

site : ourwebsite . com

Everything looked fine, but we observed one link as :-

ourwebsite . com/webpage.asp?ref=s0d.org <--- CULPRIT


My questions are as below :-

a) How could google show this link when it is not present anywhere on our site ???

b) If this link doesnt exist then where did it came from ??

c) Is somebody trying to play some black hat seo trick here ??

d) Is there any way to avoid these issues in future


Please let me know how to resolve this issue

I am good at SEO ,but little weak in web development
__________________
SEO Optimization Company - SEO Hawk - UK, US, Canada, and Australia
SEO Optimisation UK | SEO Blog http://blog.seohawk.com

Last edited by davidweb : 03-14-2008 at 11:13 AM.
Reply With Quote
  #2 (permalink)  
Old 03-14-2008, 12:49 PM
WebProWorld Veteran
 

Join Date: Jul 2004
Posts: 983
activeco RepRank 2
Default Re: Is somebody playing Black Hat SEO trick on our site

Quote:
Originally Posted by davidweb View Post
d) Is there any way to avoid these issues in future
Be sure to return 404 for similar requests.
__________________
This ad space could be yours. Contact us for affordable rates! ; )
Reply With Quote
  #3 (permalink)  
Old 03-14-2008, 03:00 PM
incrediblehelp's Avatar
Moderator
WebProWorld Moderator
 

Join Date: Jan 2004
Location: Live in Cincy Now
Posts: 7,703
incrediblehelp RepRank 4incrediblehelp RepRank 4incrediblehelp RepRank 4incrediblehelp RepRank 4
Default Re: Is somebody playing Black Hat SEO trick on our site

1. The operator your using is not accurate, just shows a sampling.

2. I can link to your website anyway I want to and it may get indexed. Like Activeco says return a 404 and forget about such issues
Reply With Quote
  #4 (permalink)  
Old 03-14-2008, 04:30 PM
davidweb's Avatar
WebProWorld Pro
 

Join Date: Mar 2007
Posts: 154
davidweb RepRank 0
Red face Re: Is somebody playing Black Hat SEO trick on our site

Quote:
Originally Posted by incrediblehelp View Post
1. The operator your using is not accurate, just shows a sampling.

2. I can link to your website anyway I want to and it may get indexed. Like Activeco says return a 404 and forget about such issues
Thanks for the reply. However we have observed this behaviour on several occasions.

Is there any way to stop these unknown reffered links

ourwebsite . com/webpage.asp?ref=s0d.org

Meawhile we have done 404 on this particular webpage.asp, but I would like to know if there is any programming/hosting technique to prevent these unknown external parameters.
__________________
SEO Optimization Company - SEO Hawk - UK, US, Canada, and Australia
SEO Optimisation UK | SEO Blog http://blog.seohawk.com
Reply With Quote
  #5 (permalink)  
Old 03-16-2008, 01:15 PM
WebProWorld Pro
 

Join Date: Jan 2008
Posts: 297
Tech Manager RepRank 1
Default Re: Is somebody playing Black Hat SEO trick on our site

Quote:
Originally Posted by davidweb View Post
Thanks for the reply. However we have observed this behaviour on several occasions.

Is there any way to stop these unknown reffered links

ourwebsite . com/webpage.asp?ref=s0d.org

Meawhile we have done 404 on this particular webpage.asp, but I would like to know if there is any programming/hosting technique to prevent these unknown external parameters.

You could go to elaborate programming lengths to prevent external parameters, but why bother. If the link is just a referrer it's not worth the effort. If it is a Cross-site scripting attack then it is an issue, ut as long as you are properly validating your variables for allowed content and disallowing everything else you should be fine.
__________________
I use Country IP Blocks as added security for my networks and servers.
Reply With Quote
  #6 (permalink)  
Old 03-16-2008, 02:40 PM
WebProWorld Veteran
 

Join Date: Jul 2004
Posts: 983
activeco RepRank 2
Default Re: Is somebody playing Black Hat SEO trick on our site

Quote:
Originally Posted by Tech Manager View Post
If the link is just a referrer it's not worth the effort.
The problem comes from the other side.
All such URI's actually come from Google's GWS server, which means you can feed Google (usually "google.com/url?g=...") with any url which accepts query strings and such a "valid" url can very easily produce duplicate/canonical issues.


Quote:
...as long as you are properly validating your variables for allowed content and disallowing everything else you should be fine.
True, but 404 must be returned for all non valid requests.

Quote:
Originally Posted by Davidweb
Meawhile we have done 404 on this particular webpage.asp, but I would like to know if there is any programming/hosting technique to prevent these unknown external parameters.
You should go to IIS forum with that question (I assume you're on IIS).

For Apache 2.00+ something like this would return 404.php custom file (with 404 header in it) for ALL query strings:

RewriteCond %{QUERY_STRING} ^.+
RewriteRule ^(.*) 404.php [L]

However if you accept some get/post variables you should accept only those.
__________________
This ad space could be yours. Contact us for affordable rates! ; )
Reply With Quote
  #7 (permalink)  
Old 03-16-2008, 04:42 PM
WebProWorld Pro
 

Join Date: Jan 2008
Posts: 297
Tech Manager RepRank 1
Default Re: Is somebody playing Black Hat SEO trick on our site

I'll buy that.
__________________
I use Country IP Blocks as added security for my networks and servers.
Reply With Quote
  #8 (permalink)  
Old 03-17-2008, 03:03 AM
NetProwler's Avatar
WebProWorld Member
 

Join Date: Jan 2007
Posts: 49
NetProwler RepRank 0
Default Re: Is somebody playing Black Hat SEO trick on our site

As long as your site returns a 404 error to any contrived URL, I don't see any reason why you should worry about this. If you plan on to weed out the query string from your URL, you may shoot yourself in the foot when you have dynamic pages without "rewriting".
__________________
Free Webmaster Tools
Reply With Quote
  #9 (permalink)  
Old 03-17-2008, 11:02 AM
wige's Avatar
Moderator
WebProWorld Moderator
 

Join Date: Jun 2006
Location: United States
Posts: 1,843
wige RepRank 4wige RepRank 4wige RepRank 4wige RepRank 4
Default Re: Is somebody playing Black Hat SEO trick on our site

If these URLs are definitely not legitimate, why not turn them to your benefit? Create an action page that has a small error text (the link no longer exists, etc) and a strong call to action, and use a 301 redirect from the bad URL to the error page. This takes all the bad links, collects all the link juice being passed, and puts it into a single page on your site specifically designed to draw the passed traffic into your sites. Additionally, the redirect should cause the erroneous URLs to be dropped from Google's index rather quickly. 404s may remain in the index for six months or more.
__________________
The best way to learn anything, is to question everything.
Reply With Quote
  #10 (permalink)  
Old 03-17-2008, 11:45 AM
WebProWorld Veteran
 

Join Date: Jul 2004
Posts: 983
activeco RepRank 2
Default Re: Is somebody playing Black Hat SEO trick on our site

Quote:
Originally Posted by wige View Post
Additionally, the redirect should cause the erroneous URLs to be dropped from Google's index rather quickly. 404s may remain in the index for six months or more.
Wige, there is no sense in redirecting possible thousands of non-existent pages. You can correct a few erroneous links in that way, but it's not proper way to fight bots.
Besides no search engine indexes properly returned 404 code. You probably refer to previously indexed page that becomes non-existent, in which case you're right.

Quote:
Originally Posted by NetProwler View Post
As long as your site returns a 404 error to any contrived URL, I don't see any reason why you should worry about this.
A server does not return 404 for 'wrong' query string. If someone is concerned about it (s)he may explicitly allow only accepted variables in an url.
See this example using your site's url.

I have used contact page, for the case something goes wrong.
__________________
This ad space could be yours. Contact us for affordable rates! ; )
Reply With Quote
Reply

  WebProWorld > Webmaster, IT and Security Discussion > Webmaster Resources Discussion Forum


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ive Been Hijacked........Again! watto Google Discussion Forum 18 11-10-2007 03:13 PM
URL hijacked Memoire Internet Security Discussion Forum 3 07-17-2005 04:46 PM
IE6 hijacked? jhofve Internet Security Discussion Forum 8 06-25-2004 07:37 PM
Domain has been hijacked pdrew Domain Discussion Forum 7 05-04-2004 12:15 PM
Hijacked! maniactive Internet Industry 9 11-19-2003 03:24 PM


Search Engine Optimization by vBSEO 3.2.0