Wordpress博客上的Google adsense显示错误404.让我们将此博客称为website1.com。到目前为止,我已经完成了以下工作:
但谷歌广告仍然没有显示。我检查了访问日志,它显示了以下内容:
"GET /google_adsense_script.html HTTP/1.1" 404 5569 "http://www.website1.com/featured/a-peek-of-banaue-rice-terraces-in-ifugao/"
"GET /wp-content/themes/theme-name/images/background.png HTTP/1.1" 404 5574 "http://www.website1.com/google_adsense_script.html" "
"GET /google_adsense_script.html HTTP/1.1" 404 5589 "http://www.website1.com/awards-and-recognitions/chuva-post-chuva-chu/"
"GET /poloralphlauren/?france=basket+ralph+lauren+pas+cher HTTP/1.0" 503 521 "http://www.website1.com/"
"GET /wp-includes/js/jquery/jquery.js HTTP/1.1" 200 33285 "http://www.website1.com/poloralphlauren/?france=basket+ralph+lauren+pas+cher"
那些重定向网址吗?我总是看到“google_adsense_script.html”和“poloralphlauren”。该网站没有这样的文件,但它们会一直显示在日志中。
我尝试在另一个Wordpress博客website2.com上使用相同的Wordpress主题和相同的Google adsense脚本,一切正常。我没有遇到任何问题。
总结一下:website1.com和website2.com都使用相同的Wordpress主题和相同的谷歌adsense代码。但是在website1.com上的谷歌adsense显示错误404。
是否有可能导致隐藏的重定向脚本导致网站上的google adsense出现错误404?如果有,我该如何寻找它们?
自2016年1月27日起更新
我使用Quttera扫描了两个Wordpress网站(website1.com和website2.com),看看它们是否干净。我在website1.com上找到了5个隐藏的iframe:
iframe sandbox=\"allow-scripts\" security=\"restricted\" src=\"http:\/\/www.website1.com\/about\/embed\/\" width=\"600\" height=\"338\" title=\"Embedded WordPress Post\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\" class=\"wp-embedded-content\"
iframe sandbox=\"allow-scripts\" security=\"restricted\" src=\"http:\/\/www.website1.com\/contact-us\/embed\/\" width=\"600\" height=\"338\" title=\"Embedded WordPress Post\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"class=\"wp-embedded-content\"
iframe sandbox=\"allow-scripts\" security=\"restricted\" src=\"http:\/\/www.website1.com\/privacy-policy\/embed\/\" width=\"600\" height=\"338\" title=\"Embedded WordPress Post\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\" class=\"wp-embedded-content\"
iframe sandbox=\"allow-scripts\" security=\"restricted\" src=\"http:\/\/www.website1.com\/sitemap\/embed\/\" width=\"600\" height=\"338\" title=\"Embedded WordPress Post\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\" class=\"wp-embedded-content\"
iframe sandbox=\"allow-scripts\" security=\"restricted\" src=\"http:\/\/www.website1.com\/links\/embed\/\" width=\"600\" height=\"338\" title=\"Embedded WordPress Post\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\" class=\"wp-embedded-content\"
我不知道这些iframe来自哪里。它们包含脚本吗?