[advanced search]
Results from the most recent live auction are here.
17 members in the live chat room. Join Chat!
Register Rules & FAQ NP$ Store Active Threads Mark Forums Read
Go Back   NamePros.Com > Making Money > PPC / CPC / CPM Programs > Google Adsense
User Name
Password

Old 01-02-2007, 04:26 AM   · #1
Fka200
Senior Member
 
Fka200's Avatar
 
Name: Sammy
Location: Los Angeles, CA
Trader Rating: (19)
Join Date: Aug 2006
Posts: 1,273
NP$: 133.00 (Donate)
Fka200 is just really niceFka200 is just really niceFka200 is just really niceFka200 is just really nice
Adsense Pros: I have a question

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.


Please register or log-in into NamePros to hide ads
Fka200 is offline   Reply With Quote
Old 01-02-2007, 05:56 AM   · #2
enlytend
NamePros Regular
 
Location: USA
Trader Rating: (6)
Join Date: Aug 2006
Posts: 399
NP$: 43.70 (Donate)
enlytend is just really niceenlytend is just really niceenlytend is just really niceenlytend is just really nice
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 ...
enlytend is offline   Reply With Quote
Old 01-07-2007, 03:59 AM   · #3
ChrisChris
NamePros Regular
 
ChrisChris's Avatar
 
Name: Take a wild guess ;)
Location: Australia
Trader Rating: (16)
Join Date: Jul 2006
Posts: 820
NP$: 11.80 (Donate)
ChrisChris is a name known to allChrisChris is a name known to allChrisChris is a name known to allChrisChris is a name known to allChrisChris is a name known to allChrisChris is a name known to all
Hey,

For the sites that dont work, try pressing ctrl + f5, I had this problem - its just a cache thing.

Let me know how you go with that
ChrisChris is offline   Reply With Quote
Old 01-07-2007, 04:22 AM   · #4
Fka200
Senior Member
 
Fka200's Avatar
 
Name: Sammy
Location: Los Angeles, CA
Trader Rating: (19)
Join Date: Aug 2006
Posts: 1,273
NP$: 133.00 (Donate)
Fka200 is just really niceFka200 is just really niceFka200 is just really niceFka200 is just really nice
Originally Posted by ChrisChris
Hey,

For the sites that dont work, try pressing ctrl + f5, I had this problem - its just a cache thing.

Let me know how you go with that




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
Fka200 is offline   Reply With Quote
Old 01-07-2007, 04:42 AM   · #5
ChrisChris
NamePros Regular
 
ChrisChris's Avatar
 
Name: Take a wild guess ;)
Location: Australia
Trader Rating: (16)
Join Date: Jul 2006
Posts: 820
NP$: 11.80 (Donate)
ChrisChris is a name known to allChrisChris is a name known to allChrisChris is a name known to allChrisChris is a name known to allChrisChris is a name known to allChrisChris is a name known to all
Glad to hear its working for you
ChrisChris is offline   Reply With Quote
Old 01-07-2007, 04:50 AM   · #6
Fka200
Senior Member
 
Fka200's Avatar
 
Name: Sammy
Location: Los Angeles, CA
Trader Rating: (19)
Join Date: Aug 2006
Posts: 1,273
NP$: 133.00 (Donate)
Fka200 is just really niceFka200 is just really niceFka200 is just really niceFka200 is just really nice
Originally Posted by ChrisChris
Glad to hear its working for you




.htaccess file had this to get it to work:


RewriteEngine On
RewriteCond %{HTTP_HOST} !^(.*)\.yourdomain\.tld$ [NC]
RewriteRule ^(.*)$ http://www.yourdomain.tld/$1 [R=301,L]



Hope this helps someone, now hopefully googlebot updates all of this! I appreciate the help guys
Fka200 is offline   Reply With Quote
Closed Thread

NamePros is a revenue sharing forum.

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Site Sponsors
Special Offer NameChatter Grow your forum!
Advertise your business at NamePros
All times are GMT -7. The time now is 10:39 PM.


Powered by: vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0