Forum Moderators: phranque
1. Does it help to redirect all yoursite.com to www.yoursite.com? I notice that webmasterworld does it.
2. What is the appropriate rewrite command in the .htaccess file to do this universally/generally across the site with only a single rewrite rule in .htaccess? I've searched webmasterworld for an answer to this but keep finding more complicated scenarios than I'm dealing with. I don't want to redirect from an old site to a new site. I also don't want to redirect just a particular directory or file. I want to redirect all calls to site.com* to www.site.com*
Thanks for any help.
Does it help to redirect all yoursite.com to www.yoursite.com?Does it help WHAT? ;)
There is evidence that Google splits the page rank for a site that has incoming links pointing to both www.yoursite.com and yoursite.com which is why I use this type redirect on my sites.
AFAIK, you'll need at least two lines of code to implement this redirect. Also, it would be prudent to become a little familiar with .htaccess and mod_rewrite before trying this, there can be some "gotchas." This post [webmasterworld.com] will introduce you to them. The code you're looking for is already on the board in several places but perhaps someone will post it again for you.
If your preferred form is the only URL that ever appears in your address bar, that improves the likelihood that other sites will link to you that way. It is A Good Thing to have your link pop focused on one form or the other, rather than split between the www. and non-www. versions. I don't think it matters which one you use as long your link pop is as consistent as possible.
BTW, as webmasterworld gets filled with more and more content (much of which is noise), have there been any plans to manually pull content out and highlight it somewhere on the site?
I've been using this site for a little over 1 year now, and have found it increasingly more difficult to find the information I need as the membership base and posting has gone up.
Just a thought.