Google adsense on a Wordpress blog shows error 404. Lets call this blog, website1.com. So far, I have done the following:
- backed up mysql database
- terminated the cPaneL account
- created a new cPaneL account
- installed a new Wordpress again
- dropped all tables in mysql database and installed the old database.
- installed a new Wordpress theme
- 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?