How to pass PR?!

Discussion in 'Link Development' started by redhits, Mar 3, 2006.

  1. #1
    What the the code for Apache REWRITE mode if I want to pass the PR
    from http://www to http:// (or from http:// to http://www)

    How fast I will see :

    1. modifcations in SERP
    2. modifcation of my PR (like if I will pass PR from a site to anather one , shoudl I waith till the next PR update, or the transfer will be at the next time google will crawl my site?!)


    Is it okay to do this ? could it harm my site? I put lot's of links to my site but i used http:// insted of http://www....
     
    redhits, Mar 3, 2006 IP
  2. Cristian Mezei

    Cristian Mezei Notable Member

    Messages:
    3,332
    Likes Received:
    355
    Best Answers:
    0
    Trophy Points:
    213
    #2
    In your old site's .htaccess, put :

    You'll see changes at the next PR update, if PR is what you are interested.
     
    Cristian Mezei, Mar 3, 2006 IP
  3. gordi555

    gordi555 Active Member

    Messages:
    537
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    58
    #3
    Cheers, been wanting to know that for a while! :)
     
    gordi555, Mar 3, 2006 IP
  4. Cristian Mezei

    Cristian Mezei Notable Member

    Messages:
    3,332
    Likes Received:
    355
    Best Answers:
    0
    Trophy Points:
    213
    #4
    Because the initial poster actually wanted to redirect the non-www domain.com version to the www version, use this in your .htaccess:

     
    Cristian Mezei, Mar 3, 2006 IP
  5. redhits

    redhits Notable Member

    Messages:
    3,023
    Likes Received:
    277
    Best Answers:
    0
    Trophy Points:
    255
    #5
    I am getting this error message :


    Internal Server Error
    The server encountered an internal error or misconfiguration and was unable to complete your request.
    Please contact the server administrator, and inform them of the time the error occurred, and anything you might have done that may have caused the error.

    More information about this error may be available in the server error log.


    Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.


    --------------------------------------------------------------------------------

    Apache/1.3.34 Server at www.softgroups.com Port 80
     
    redhits, Mar 13, 2006 IP
  6. Cristian Mezei

    Cristian Mezei Notable Member

    Messages:
    3,332
    Likes Received:
    355
    Best Answers:
    0
    Trophy Points:
    213
    #6
    Using the code i gave you above ?

    I presume you DID changed the "yourdomain\.com" URL, to match your own url
     
    Cristian Mezei, Mar 14, 2006 IP
  7. acidfrenzy

    acidfrenzy Peon

    Messages:
    18
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    I tried the same thing earlier on two diffrent servers. One using apache 1.3 and one using 2.0. I only got it working with 2.0. Maybe some module needs to be added for 1.3?

    Anyhow. I solved it with making two virtual hosts instead, like this:

    <VirtualHost 217.25.247.87>
        ServerAdmin taliz@apathia.net
        DocumentRoot /home/jf/public_html/
        ServerName jail.se
        RewriteEngine on
        RewriteCond %{HTTP_HOST} ^jail\.se
        RewriteRule ^(.*)$ http://www.jail.se$1 [R=301]
    </VirtualHost>
    <VirtualHost 217.25.247.87>
        ServerAdmin taliz@apathia.net
        DocumentRoot /home/jf/public_html/
        ServerName www.jail.se
        ErrorLog /var/log/www/jail.se-error_log
        CustomLog /var/log/www/jail.se-access_log combined
    </VirtualHost>
    Code (markup):
    If you have access to the httpd.conf maybe you should consider using this instead of .htaccess.
     
    acidfrenzy, Mar 15, 2006 IP
  8. redhits

    redhits Notable Member

    Messages:
    3,023
    Likes Received:
    277
    Best Answers:
    0
    Trophy Points:
    255
    #8

    yes! i changed the yourdomain\.com ... and i get the same error
     
    redhits, Mar 16, 2006 IP