To WWW my URL or NOT?

Discussion in 'SEO' started by michael_angeloh, Apr 14, 2005.

  1. #1
    I have noticed in reviewing my Google Stats on DP that I have a completely different PR ranking and Backlinks readout depending on if I add the WWW in front of my websites URL or not...

    As a matter of fact the backlinks that appear for my website URL which I always have posted without the WWW dont appear on my WWW.URL stats and versa-visa. I presume then that this means those links dont count toward page weight, page rank or anything else..?

    So Google and I assume every other Search Engine out there will read my website:
    http://1800sunstar.com/
    and
    http://www.1800sunstar.com/

    as two different websites..?

    Fortunately my webhosting service does route inquires to my website with or without the WWW otherwise folks would get a 404..?

    Does this mean I'll have to review all of my link partners to see if they're posting my URL with the WWW and have them modified so I receive the full value of my PR and Backlinks..?

    Thanks in advance for any insights...
     
    michael_angeloh, Apr 14, 2005 IP
  2. nullbit

    nullbit Peon

    Messages:
    489
    Likes Received:
    19
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Redirect the non www pages to the www equivalent, and they should pass the PR
     
    nullbit, Apr 14, 2005 IP
  3. michael_angeloh

    michael_angeloh Peon

    Messages:
    169
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Redirect as in a 301 redirect. Can you give me an example of what that might look like in code..?
     
    michael_angeloh, Apr 14, 2005 IP
  4. michael_angeloh

    michael_angeloh Peon

    Messages:
    169
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Actually I dont want the WWW so I want to direct all WWW links to my homepage URL at
    http://1800sunstar.com/
     
    michael_angeloh, Apr 14, 2005 IP
  5. Blogmaster

    Blogmaster Blood Type Dating Affiliate Manager

    Messages:
    25,924
    Likes Received:
    1,354
    Best Answers:
    0
    Trophy Points:
    380
    #5
    Blogmaster, Apr 14, 2005 IP
  6. TechEvangelist

    TechEvangelist Guest

    Messages:
    919
    Likes Received:
    140
    Best Answers:
    0
    Trophy Points:
    133
    #6
    Michael, this should do what you want in the .htaccess file:

    Options +FollowSymLinks
    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^www\.1800sunstar\.com
    RewriteRule ^(.*)$ http://1800sunstar.com/$1 [R=permanent,L]


    This rewrite rule looks for URLs with http://www.1800sunstar.com and rewrites them using http://1800sunstar.com. You should see the URL change in the browser address window if it is working correctly.
     
    TechEvangelist, Apr 14, 2005 IP
    miko67 likes this.
  7. michael_angeloh

    michael_angeloh Peon

    Messages:
    169
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Aloha TechEvangelist

    I'm using Yahoo Hosting with their advanced file manager. Is this something I can do there..?
     
    michael_angeloh, Apr 14, 2005 IP
  8. carowan

    carowan Peon

    Messages:
    473
    Likes Received:
    24
    Best Answers:
    0
    Trophy Points:
    0
    #8
    I went through this same issue with Yahoo a few months ago. I had Yahoo as a host and they do not allow you to edit the .htaccess file, do cron jobs ect. However they manage to charge you more than most hosts for fewer services and poor cutomer service because of name recognition. :mad:
    I would suggest finding a new host.

    Anyway thats my 2 cents about Yahoo hosting.
     
    carowan, Apr 14, 2005 IP
  9. michael_angeloh

    michael_angeloh Peon

    Messages:
    169
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Thanx for the feeback Carowan but not being in a position to change my hosting service right now I'd like to be able to do something about this asap. I was told that I could do a 301 redirect but I dont know if that would tally the linkpartners and visitors I get to http://www.1800sunstar.com and credit them in my stats to http://1800sunstar.com

    This is really what I'd like to do without having to go to every linkpartner and ask them to delete the WWW from my URL listings on their resource sites...

    Still not sure the best way to handle this one. Any other suggestions please..?
     
    michael_angeloh, Apr 15, 2005 IP
  10. kyle422

    kyle422 Peon

    Messages:
    290
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #10
    Correct me if I'm wrong, but you should be able to use the code tech avangelist gave you , place it in notepad, call the file .htaccess (make sure you leave out the .txt that notepad assigns) and just FTP the file on the root of your host server.
     
    kyle422, Apr 15, 2005 IP
  11. michael_angeloh

    michael_angeloh Peon

    Messages:
    169
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #11
    well as mentioned above I'm using Yahoo as my host server which has an HTML advanced file manager that I use to code my websites. Not having done this before it looks like I would assign a file with the extension as follows: ?

    filename.htaccess

    CODE:
    <html>

    Options +FollowSymLinks
    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^www\.1800sunstar\.com
    RewriteRule ^(.*)$ http://1800sunstar.com/$1 [R=permanent,L]

    </html>
     
    michael_angeloh, Apr 15, 2005 IP
  12. kyle422

    kyle422 Peon

    Messages:
    290
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #12
    That's it. (make sure the file name is only .htaccess nothing else)
    Upload it on your server than test it out. Hope it works.
     
    kyle422, Apr 15, 2005 IP
  13. michael_angeloh

    michael_angeloh Peon

    Messages:
    169
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #13
    Thanx Kyle and everyone that responded...
    I'll try this today and advise. Be interesting to see if this will in fact improve my backlink stats down the line.
     
    michael_angeloh, Apr 15, 2005 IP
  14. kyle422

    kyle422 Peon

    Messages:
    290
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #14
    Update the post after you impliment the file. Let us know what happened. ;)
     
    kyle422, Apr 15, 2005 IP
  15. nullbit

    nullbit Peon

    Messages:
    489
    Likes Received:
    19
    Best Answers:
    0
    Trophy Points:
    0
    #15
    Just one note, since no one mentioned it: The html tags should not be there, since it's not a HTML document.
     
    nullbit, Apr 15, 2005 IP
    miko67 likes this.
  16. miko67

    miko67 Well-Known Member

    Messages:
    769
    Likes Received:
    59
    Best Answers:
    0
    Trophy Points:
    120
    #16
    Thanks nullbit, I'm into this part of the job for the first time and that particular piece of tag had me completely baffled.
     
    miko67, Apr 15, 2005 IP
  17. miko67

    miko67 Well-Known Member

    Messages:
    769
    Likes Received:
    59
    Best Answers:
    0
    Trophy Points:
    120
    #17
    Tech, you're writing like this:
    but elsewhere I've seen it written like this: [L,R]

    Is there a difference? Does it matter - seems not to - what order the "R" and "L" is written in,
    but I have no idea what they do :confused: specifically
     
    miko67, Apr 15, 2005 IP
  18. michael_angeloh

    michael_angeloh Peon

    Messages:
    169
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #18
    Well I've learned quite alot more than I expected to know about file extensions today. It seems "Carowan" might've been correct in that I could not find "htaccess" support on the Yahoo server. I suppose that "htaccess" isn't really a file extension though because they usually go "filename.html" or "filename.php" etc yes? Well there's apparently no filename with "htaccess" and when I tried to save the code provided by "TechEvangelist" the system asked me for a filename...

    I feel like I'm pretty much back where I started as far as my original dilemma goes. [i.e: how to get backlinks and PR credit for my http://1800sunstar.com/ for referrals and hits that go to http://www.1800sunstar.com/]

    At any rate Yahoo does support quite a few file ext's and programs. Here's their list of supported file ext's I found:
    Which file types does Yahoo! Web Hosting support?
    Below you will find the current list of file types supported by Yahoo! We will add to this list periodically as new file types become more common across the Web.

    EXTFILE TYPE
     
    michael_angeloh, Apr 15, 2005 IP
  19. flawebworks

    flawebworks Tech Services

    Messages:
    991
    Likes Received:
    36
    Best Answers:
    1
    Trophy Points:
    78
    #19
    .htaccess isn't a file extension. It is a file. Specifically, it is a hidden file. The (dot) before the name of the file signifies this, you can hide any file in this manner simply by naming it .michael. You wouldn't be able to see it normally, and certainly not by browser.

    What you could try to do with your html/text creator is create a file, name it htaccess.txt, put your htaccess stuff in it. When you're done; save it as the htaccess file, then try to rename it to .htaccess.

    It sounds like Yahoo doesn't allow hidden files by it's users though.
     
    flawebworks, Apr 15, 2005 IP
  20. Blogmaster

    Blogmaster Blood Type Dating Affiliate Manager

    Messages:
    25,924
    Likes Received:
    1,354
    Best Answers:
    0
    Trophy Points:
    380
    #20
    If you have a blogger blog I suggest no www
     
    Blogmaster, Apr 15, 2005 IP