I did some research and found the code to do the opposite, which is to add the www, is:
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^daniweb\.com [NC]
RewriteRule ^(.*)$ http://www.daniweb.com/$1 [L,R=301]
However, it doesn't seem to work with subdirectories. Can anyone comment or help out with this? Thanks!
cscgal
The Queen of DaniWeb
19,421 posts since Feb 2002
Reputation Points: 1,474
Solved Threads: 229
Are you keeping it set up this way or should I still be on the lookout for the reverse? Personally, I always use www in domain names.
cscgal
The Queen of DaniWeb
19,421 posts since Feb 2002
Reputation Points: 1,474
Solved Threads: 229
Check out a bunch of other posts on this forum about google PR. After any major changes such as this, I'd also give it about 2 weeks before you see any real Google effects.
cscgal
The Queen of DaniWeb
19,421 posts since Feb 2002
Reputation Points: 1,474
Solved Threads: 229
I had heard somewhere though that Google doesn't dance anymore. Instead, it's just a constant flow of small updates. All that happens is every X weeks the backlinks we see are updated and the google toolbar is updated with a newer PR - but in reality, G had been taking those things into consideration long before we got to see them.
cscgal
The Queen of DaniWeb
19,421 posts since Feb 2002
Reputation Points: 1,474
Solved Threads: 229