Google ads display error 404. Is there a hidden redirect script?

你说的曾经没有我的故事 提交于 2019-12-12 03:36:40

问题


Google adsense on a Wordpress blog shows error 404. Lets call this blog, website1.com. So far, I have done the following:

  1. backed up mysql database
  2. terminated the cPaneL account
  3. created a new cPaneL account
  4. installed a new Wordpress again
  5. dropped all tables in mysql database and installed the old database.
  6. installed a new Wordpress theme
  7. put the google adsense code manually

But the Google ads still dont show. I checked the access logs and it showed the following:

"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"

Are those redirect urls? I always see "google_adsense_script.html" and "poloralphlauren". The website doesn't have files like that but they keep showing up in the logs.

I tried using the same Wordpress theme and same Google adsense script on another Wordpress blog, website2.com, everything works fine. I got no problems.

To summarize: website1.com and website2.com both use the same Wordpress theme and same google adsense codes. But google adsense on website1.com shows error 404.

Is it possible that there is a hidden redirect script that can cause google adsense on the website to go error 404? If there is, how do I look for them?

update as of 1/27/2016

I scanned the two Wordpress websites (website1.com and website2.com) using Quttera to find out if they are clean. I found 5 hidden iframes on website1.com:

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\"

I have no idea where these iframes are coming from. They contain scripts?

来源:https://stackoverflow.com/questions/35006583/google-ads-display-error-404-is-there-a-hidden-redirect-script

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!