wordpress页面按F12时源码多出的内容在index.php header.php找不到

比如类似这样的内容:

<div style="position:absolute;filter:alpha(opacity=0);opacity:0.001;z-index:10;"><b>
<a href="http://www.mh52.com/">空乘招生</a>

<a href="http://www.wazige.com/">锌钢护栏</a>

</b></div>

那么请注意了,你的网站被黑客攻击了,这样你的网站页面隐藏了一些链接,你网站的流量会被别人的网站吸引过去,因为设置了opacity:0.001,所以你看不到,但是点击却是别人的链接,

此刻处理办法是找到wordpress根目录下的index.php文件,此文件肯定被别人改过,改成类似如下的样子:

<div style="position:absolute;filter:alpha(opacity=0);opacity:0.001;z-index:10;"><b>

<a href="http://www.mh52.com/">空乘招生</a>

<a href="http://www.wazige.com/">锌钢护栏</a>

</b></div>

<?php

/**

 * Front to the WordPress application. This file doesn't do anything, but loads

 * wp-blog-header.php which does and tells WordPress to load the theme.

 *

 * @package WordPress

 */

/**

 * Tells WordPress to load the WordPress theme and output it.

 *

 * @var bool

 */

define('WP_USE_THEMES', true);

/** Loads the WordPress Environment and Template */

require('./wp-blog-header.php');

  你只要用wordpress原先的index.php文件覆盖之便可解决此问题。假如你的wordpress不是最新版本,那么请升级wordpress便可。

最新文章

  1. jQuery--.wrap()方法
  2. 【poj3017】 Cut the Sequence
  3. Web Service平台概述
  4. 带优先级的队列 - PHP实现
  5. jQuery UI 实例 - 对话框(Dialog)(zhuan)
  6. Osmocom-BB多信道修改代码相关
  7. nginx下面部署fast-cgi和C++【原】
  8. C#基础--局部类型Partial
  9. dorado7第一次使用感受
  10. 搭建ganglia集群而且监视hadoop CDH4.6
  11. Apache 实现ProxyPass转发URL到Tomcat并实现http自动转https【转载】
  12. .Net 配置的简陋解决方案
  13. 《springCloud系列》——Eureka 进行服务治理
  14. SimInfo获取(MCC, MNC, PLMN)
  15. POJ 1703 Find them, Catch them (并查集)
  16. linux mongodb 及php-mongo扩展安装
  17. tensorflow中 tf.train.slice_input_producer 和 tf.train.batch 函数(转)
  18. 31_网络编程-struct
  19. node - 使用request发送http请求
  20. python3学习笔记(2)_list-tuple

热门文章

  1. 超算云(GPU服务器)环境配置
  2. 矩阵树定理&amp;BEST定理学习笔记
  3. 快速沃尔什变换&amp;快速莫比乌斯变换小记
  4. Atcoder Regular Contest 061 D - Card Game for Three(组合数学)
  5. 一次forEach 中 await 的使用
  6. Shell 输出第五行的内容
  7. for no other reason than because
  8. Jenkins:参数化构建:分支|模块|回滚|打印日志
  9. 几种常用JavaScript设计模式es6
  10. 【分布式】Zookeeper客户端基本的使用