1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

different Pr - depending with or without www

Discussion in 'SEO' started by tycoonjo, Jun 25, 2007.

  1. #1
    tycoonjo, Jun 25, 2007 IP
  2. jmafonseca

    jmafonseca Peon

    Messages:
    195
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Wow, that's nice PR you got there, and sure there is a leak.

    Here's what I'd do. Choose one! I'd got for it without the www.

    Then redirect all the pages with a www via 301 to diveintoosx.org.
     
    jmafonseca, Jun 25, 2007 IP
  3. Pedro Monteiro

    Pedro Monteiro Well-Known Member

    Messages:
    1,261
    Likes Received:
    47
    Best Answers:
    0
    Trophy Points:
    185
    #3
    Hello there. Just use mod_rewrite (Edit HTACCESS) to force apache to redirect your visitors to the www version.
     
    Pedro Monteiro, Jun 25, 2007 IP
  4. l3vi

    l3vi Peon

    Messages:
    375
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    0
    #4
    yep, here is also the Rewrite:

    RewriteCond %{HTTP_HOST} ^yourdomain.(.*)
    RewriteRule ^(.*)$ http://www.yourdomain.com/$1 [R=301,L]
     
    l3vi, Jun 25, 2007 IP
    Pedro Monteiro likes this.
  5. pratikgmr

    pratikgmr Active Member

    Messages:
    531
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    58
    #5
    Yes, do that...That is what I did to all my sites recently...
     
    pratikgmr, Jun 25, 2007 IP
  6. trichnosis

    trichnosis Prominent Member

    Messages:
    13,785
    Likes Received:
    333
    Best Answers:
    0
    Trophy Points:
    300
    #6
    i think some of the sites are giving link to you with www and some of them ae giving without www. i suggest you to add that code to your .htacess file. this will also help you to avoid from supplemental results
     
    trichnosis, Jun 25, 2007 IP
  7. l3vi

    l3vi Peon

    Messages:
    375
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Add some text with your buttons something like "provided by widexl.com", that way you can do some tracking. Your other option is to setup a hot link image to a subdomain or tracking software to see what domains link to you.
     
    l3vi, Jun 25, 2007 IP
  8. tycoonjo

    tycoonjo Banned

    Messages:
    125
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    hi,

    first, thanks for the advice.
    But some remarks:
    1) the domain management of the hosting firm (dreamhost) let me choose between 3 options:
    How do you like the www in your URL?
    *Both http://www.domain.com/ and http://domain.com/ work.
    *Add "www." if somebody goes to http://domain.com/
    *Remove "www." if somebody goes to http://www.domain.com/

    -> then all traffic go to what I choose; and no redirect in .htaccess

    2) I use wordpress, so .htaccess:
    AddHandler application/x-httpd-php .htm
    AddHandler application/x-httpd-php .html

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress​

    3) I want to keep the url without www.
     
    tycoonjo, Jun 26, 2007 IP
  9. khaty

    khaty Active Member

    Messages:
    399
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    73
    #9
    i think it's better if you add www to your domain.. redirect them to www just like google, yahoo and other search engine if you type google.com it will be redirected to www.google.com
     
    khaty, Jun 27, 2007 IP
  10. chinadirectory

    chinadirectory Peon

    Messages:
    174
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #10
    in .htaccess,
    add
    RewriteCond %{HTTP_HOST} ^www.yourdomain.(.*)
    RewriteRule ^(.*)$ http://yourdomain.com/$1 [R=301,L]

    after RewriteEngine On

    keep both selected in dreamhost control panel, don't bother with it.
     
    chinadirectory, Jun 27, 2007 IP
  11. sandip

    sandip Peon

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #11
    hello!
    what i have to do? if i need pr5,

    i have pr 1 of home page and pr 2 of inner page.....

    i need pr 5 for home page......

    my site is dataentrymi.com
    suggest me for getting hi pr for same.
     
    sandip, Jun 30, 2007 IP