OK, so I have been having bad luck with adsense and just found out that my site works with adsense, but with the WWW in front of the domain... and another one of my sites works WITHOUT the WWW in front of the domain! Once I take it off, I don't get ads. Is there a fix for this, or just something I have to deal with? Really frustrating yet exciting since I realized the ads might actually be working...... Any advice is appreciated.
Makes no sense that using the www or not would affect Adsense from working, although its possible that Mediabot crawled one URL but not the other yet...
Anyway, your site should ALWAYS have a permanent redirect from the non-www name to the www name or vice versa unless the two urls have different content. If you're running on an Apache server, you do this in the .htaccess file:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^your-domain\.tld
RewriteRule (.*) http://www.your-domain.tld /$1 [R=301,L]
(this example redirects requests for the non-www url to the corresponding www url)
Helps guard against duplicate content penalties, split page-rank and other issues ...
The ads work, i did an HTML redirect to the site with the WWW in front of it... but am reading now about the redirect to the .htaccess file or something