View Poll Results: Do you use http://yoursite.c0m or http://www.yoursite.c0m when submitting URLs?

Voters
17. You may not vote on this poll
  • http://yoursite.c0m

    1 5.88%
  • http://www.yoursite.c0m

    14 82.35%
  • It doesn't matter

    2 11.76%
  • Some of both

    0 0%
Results 1 to 12 of 12
  1. #1
    More Cheesier Than Ever Cheesehead's Avatar
    Join Date
    January 18th, 2005
    Location
    Land of The NFL Champs!
    Posts
    2,942
    http://www or http://
    When providing an URL for link submissions, link trades, etc, do you use http://yoursite. com or http://www.yoursite. com ?

    I noticed that when I created a favicon, the icon showed up on the www URL almost instantly but takes a while to show up on the non-www URL. Since it seems that most webmasters "in the know" use www, I have started submitting my URL with www although I am not sure there is a difference in the SERPs.
    This World is Not My Home
    We're gonna go inside, we're gonna go outside, inside and outside. . . And then we're gonna go go go and we're not gonna stop til we get across that goalline! Quotes from the movie Rudy, 1993

  2. #2
    Moderator MichaelColey's Avatar
    Join Date
    January 18th, 2005
    Location
    Mansfield, TX
    Posts
    16,232
    About the only place where I leave off the www is in the Google AdWords display URL. For me, it produces a better CTR. (Always test, though--your results may vary!)

    I redirect the non-www version of my site to the www version so that search engines won't consider them duplicate pages.
    Michael Coley
    Amazing-Bargains.com
     Affiliate Tips | Merchant Best Practices | Affiliate Friendly? | Couponing | CPA Networks? | ABW Tips | Activating Affiliates
    "Education is the most powerful weapon which you can use to change the world." Nelson Mandela

  3. #3
    Crazy like a fox suzigeek's Avatar
    Join Date
    January 18th, 2005
    Posts
    1,096
    As far as PR goes I have no pr for my non www and pr for my www. I guess thats because all links point to www. So I use www.
    Suz~~GearGirl~~

  4. #4
    Fear and Arrogance jrrl's Avatar
    Join Date
    January 18th, 2005
    Location
    Pittsburgh
    Posts
    485
    Quote Originally Posted by MichaelColey
    I redirect the non-www version of my site to the www version so that search engines won't consider them duplicate pages.
    What's the apache magic to do that? Or do I just install a very boring index.php that does nothing but send people to www? (Yeah, I could figure it out, I'm sure, but you have already and I'm beat from getting a big site finally launched last night.)

    Thanks!

    -John.
    There's a reason army's wear uniforms even though it makes them easier to spot. Sometimes that's what you want. Uniforms suggest organization, power, and numbers. These, in turn, inspire fear. And, as any good operative knows, there is no more effective weapon than fear.

    Hosting Comparison - HostScope - jrrl.com

  5. #5
    ABW Ambassador sjangro's Avatar
    Join Date
    January 18th, 2005
    Location
    Boston
    Posts
    1,529
    It doesn't really matter which you choose, but you should choose one and stick with it. My personal preference is to use the www one. People do seem to always want to put that in front of any domain they type in.

    Redirecting the non-used one to the other (non-www -> www) is smart SEO. You can't always control how people link to your site. Don't take a chance by giving the search engines anything to guess or get confused about. I've seen SE reps make this recommendation more than once as a best practice.

    Many search engines do consider them different pages if they both work independently.

    Even google does the redirect: http://google.com (click that and watch the URL in the address bar).

    >>Apache magic?

    One way to do this is to put the following in the .htaccess file in your web root directory as the first rule. (Warning: be very careful creating or editing this file. Make a backup and be prepared to revert back to the old file or no file if you are going to experiment.)

    Code:
    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^yourdomain.com.*
    RewriteRule (.*) http://www.yourdomain.com/$1 [R=301,QSA,L]

  6. #6
    2005 Linkshare Golden Link Award Winner  ecomcity's Avatar
    Join Date
    January 18th, 2005
    Location
    St Clair Shores MI.
    Posts
    17,328
    Best to setup your server to resolve something as simple as EcomCity.com to your site. (Upper & lower case URL type ins from printed materials) Always submit using full http://www.
    Webmaster's... Mike and Charlie

    "What have you done today to put real value into a referral click...from a shoppers viewpoint!"

  7. #7
    Ms Dumb Ass ... but, *NOT* Today! westgroup's Avatar
    Join Date
    January 18th, 2005
    Location
    State of Perpetual Confusion
    Posts
    471
    Ok, Here's a dumb question.
    I know that I would replace the "yourdomain" with my domain but would I also replace the HOST with my web host?

    It probably seems obvious to those who know, but I'd rather look like a fool now then to screw something up.

    Quote Originally Posted by sjangro
    >>Apache magic?

    Code:
    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^yourdomain.com.*
    RewriteRule (.*) http://www.yourdomain.com/$1 [R=301,QSA,L]

  8. #8
    ABW Ambassador sjangro's Avatar
    Join Date
    January 18th, 2005
    Location
    Boston
    Posts
    1,529
    The HTTP_HOST stays. The only thing you change is "yourdomain.com"

    Did I mention be careful?

  9. #9
    Fear and Arrogance jrrl's Avatar
    Join Date
    January 18th, 2005
    Location
    Pittsburgh
    Posts
    485
    Quote Originally Posted by sjangro

    Code:
    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^yourdomain.com.*
    RewriteRule (.*) http://www.yourdomain.com/$1 [R=301,QSA,L]
    Speaking of careful, I had to remove the slash after "com" in the last line as I was getting double slashes in the redirected URLs. Maybe my apache is weird. Anyway, thanks a ton!

    -John.
    There's a reason army's wear uniforms even though it makes them easier to spot. Sometimes that's what you want. Uniforms suggest organization, power, and numbers. These, in turn, inspire fear. And, as any good operative knows, there is no more effective weapon than fear.

    Hosting Comparison - HostScope - jrrl.com

  10. #10
    Ms Dumb Ass ... but, *NOT* Today! westgroup's Avatar
    Join Date
    January 18th, 2005
    Location
    State of Perpetual Confusion
    Posts
    471
    So I added the above code and now my htaccess file looks like:
    deny from all
    allow from localhost
    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^mydomain.com.*
    RewriteRule (.*) http://www.mydomain.com/$1 [R=301,QSA,L]

    It is not redirecting. Would it have something to do with the first 2 lines?
    And also should I have other info in the access file like for robots etc?

    Thanks

  11. #11
    Moderator MichaelColey's Avatar
    Join Date
    January 18th, 2005
    Location
    Mansfield, TX
    Posts
    16,232
    Here's what I use:

    Code:
    RewriteEngine on
    RewriteCond %{HTTP_HOST} !^www\.amazing-bargains\.com
    RewriteRule ^(.*)$ http://www.amazing-bargains.com/$1 [R=301,L]
    Michael Coley
    Amazing-Bargains.com
     Affiliate Tips | Merchant Best Practices | Affiliate Friendly? | Couponing | CPA Networks? | ABW Tips | Activating Affiliates
    "Education is the most powerful weapon which you can use to change the world." Nelson Mandela

  12. #12
    Ms Dumb Ass ... but, *NOT* Today! westgroup's Avatar
    Join Date
    January 18th, 2005
    Location
    State of Perpetual Confusion
    Posts
    471
    WooHoo, it works.
    Thanks Michael!

    After hours & hours, the last few days of trying to install a script on a different site & getting no where & feeling totally inept and stupid I now can say that I have accomplished something.

    As simple as it sounds to most reading the posts here, being able to point to the www page makes me very happy.

    It's time to pull out the booze and celebrate!

  13. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. http header says: HTTP/1.1 302 Object moved
    By Roland in forum Midnight Cafe'
    Replies: 2
    Last Post: August 25th, 2005, 09:11 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •