首页 > 问答 > 网站被改了标题,但是找不出在哪里改的,不知道怎么操作了

网站被改了标题,但是找不出在哪里改的,不知道怎么操作了

[导读]:这个网站被挂了代码,改了标题,看以下附件 不一定,有可能是外链的锚文字有的时候也会影响搜索标题 ### 你的域名解析IP被换了。 到你的域名管理去,把域名指向解析的IP,...

这个网站被挂了代码,改了标题,看以下附件



不一定,有可能是外链的锚文字有的时候也会影响搜索标题

###

你的域名解析IP被换了。

到你的域名管理去,把域名指向解析的IP,重新设置回来。解析成功后,你的网站就回去了!!!!

###

楼上的大牛们都喜欢用代码来解析这东西,有这么复杂?查看快照,明显就是网站被黑了,整个网站被做成了其他内容的网站。

###

你对比一下你的网站源码吧,应该是上传了识别搜索引擎,给予搜索引擎不同内容的那个代码了。
参考代码:
<%
function GetBot()
'查询蜘蛛
dim s_agent
GetBot=""
s_agent=("HTTP_USER_AGENT") ‘关键判断语句
if instr(1,s_agent,"googlebot",1) >0 then
GetBot="google"
end if
if instr(1,s_agent,"msnbot",1) >0 then
GetBot="MSN"
end if
if instr(1,s_agent,"slurp",1) >0 then
GetBot="Yahoo"
end if
if instr(1,s_agent,"baiduspider",1) >0 then
GetBot="baidu"
end if
if instr(1,s_agent,"sohu-search",1) >0 then
GetBot="Sohu"
end if
if instr(1,s_agent,"lycos",1) >0 then
GetBot="Lycos"
end if
if instr(1,s_agent,"robozilla",1) >0 then
GetBot="Robozilla"
end if
end function
if GetBot="baidu" then
'给百度定制的内容
elseif GetBot="google" then
'给google 定制的内容
end if
%>

###

被黑了吧,快照劫持。一般是JS的调用,检查一下js文件吧。

本文来自投稿,不代表微盟圈立场,如若转载,请注明出处:https://www.vm7.com/a/ask/26854.html