Forum Moderators: open
dim request_string
request_string= Request.ServerVariables("SERVER_NAME")
if not (instr(request_string,"original-site.com")>0) then
Response.Status = "200"
Response.write "</head><body> Hell-Oh !"
Response.write "</br><b>Stolen Content</b> was detected on " & request_string
Response.write ".</br>Access to original owners server denied.</body></html>"
Response.End
end if
[edited by: marcel at 9:49 am (utc) on Sep 1, 2010]
[edit reason] fixed broken link [/edit]
Result: if the page is not called from original server, the visitor AND the SE bot get a "200 OK" with no [real] content.
Had it first served a flat "403" (access denied) but want the SE bots to get the updated blank pages.
The question is not limited to the server used.
Result: if the page is not called from original server, the visitor AND the SE bot get a "200 OK" with no [real] content.
One of my pages recently turned up in a Google listing, but at a new location. When I investigated the page, I found that my entire site was duplicated, and was very up-to-date.
Apparently, they are running a proxy server and some software which maps addresses under their domain to domains of other sites.
JohnRoy needs to expand on his definition of original server, whether that term is supposed to be his own server or the bots server
additionally, he needs to expand on his definition of SE bot. It makes no sense at all to provide blank pages (absent any content) to legitimate SE bots.
(I think this post was moved to wrong location)
So instead of returning a regular page, a short message states that content is stolen from original (example.com) server.
The soundest practice is to simply deny access, and without any explanation.
Response.write "<meta name=""robots"" content=""noindex"">"
I assume you missed reading the definition quoted from example.com - has nothing to do with my server security.
This is the IIS forum.