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.

No, that was NOT a PR update

Discussion in 'Google' started by minstrel, Mar 27, 2007.

  1. #1
    Canonicalization update
    By Matt Cutts
    Tue, Mar 27 2007

     
    minstrel, Mar 27, 2007 IP
  2. CountryBoy

    CountryBoy Prominent Member

    Messages:
    8,970
    Likes Received:
    754
    Best Answers:
    0
    Trophy Points:
    360
    #2
    So it looks like we're still on track for a St. George's Day PR update? Wa hey - my winnings are practically in the bank already!
     
    CountryBoy, Mar 27, 2007 IP
  3. MeetHere

    MeetHere Prominent Member

    Messages:
    15,399
    Likes Received:
    994
    Best Answers:
    0
    Trophy Points:
    330
    #3
    I learned some new and strange.. Can anybody tell how ? 301 redirect ?

    Thanks for update.
     
    MeetHere, Mar 27, 2007 IP
    jdR!pper likes this.
  4. Sjorritsma

    Sjorritsma Peon

    Messages:
    238
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #4
    301 In ASP

    <%
    Response.Status="301 Moved Permanently"
    Response.AddHeader "Location", http://www.yoururl.com
    %>
     
    Sjorritsma, Mar 27, 2007 IP
  5. Sjorritsma

    Sjorritsma Peon

    Messages:
    238
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #5
    301 IN PHP

    header("HTTP/1.1 301 Moved Permanently");
    header("Location: http://www.yoururl.com");
    exit();
     
    Sjorritsma, Mar 27, 2007 IP
  6. Sjorritsma

    Sjorritsma Peon

    Messages:
    238
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #6
    301 In ASP.Net

    <script runat="server">

    private void Page_Load(object sender, System.EventArgs e)
    {
    Response.Status = "301 Moved Permanently";
    Response.AddHeader("Location","http://www.yoururl.com");
    }
    </script>
     
    Sjorritsma, Mar 27, 2007 IP
  7. uzair

    uzair Peon

    Messages:
    316
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #7
    (This assumes you are using the Apache webserver. If you are not… you should be.)

    If you are the server admin and have direct access to the apache configuration file you can just put in:

    redirect 301 / http://www.you.com/

    in the VirtualHost Directive.

    If you have a .htaccess file:

    just put this as the last line after your other rules.

    redirect 301 / http://www.you.com/

    The first “/” indicates that everything from the top level of the site down should be redirected. As long as you are using the same paths and filenames, then this option is a very simple way to perform site redirection in the situation where you have only changed your domain name.
     
    uzair, Mar 27, 2007 IP
  8. NYDAz

    NYDAz Peon

    Messages:
    685
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #8
    nice infos :)
     
    NYDAz, Mar 27, 2007 IP
  9. ac_roma

    ac_roma Guest

    Messages:
    173
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #9
    ok i can say pr update will start today may be

    i see some data center give me pr 0

    it wasnt yesterday give that

    59.151.21.100>0
    66.249.93.107>0
    72.14.205.189>0
    66.102.7.160>0
     
    ac_roma, Mar 27, 2007 IP
  10. minstrel

    minstrel Illustrious Member

    Messages:
    15,082
    Likes Received:
    1,243
    Best Answers:
    0
    Trophy Points:
    480
    #10
    The question was about redirecting from domain.com to www.domain.com so I don't think these suggestions will work.

    Matt Cutts blog post includes links to two pages with instructions on how to do this:

    http://www.beyondink.com/howtos/301-redirect.html

    Apache
    This solution will redirect any page requested via a non-www domain to the same URL with the www domain, and as such it can be placed in the DocumentRoot of your site and will be enforced globally:

    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^domain\.com
    RewriteRule (.*) http://www.domain.com/$1 [R=301,L]
    Code (markup):
    PHP 4 and PHP 5

    <?php
    if (substr($_SERVER['HTTP_HOST'],0,3) != 'www') {
    	header('HTTP/1.1 301 Moved Permanently'); 
    	header('Location: http://www.'.$_SERVER['HTTP_HOST']
    	.$_SERVER['REQUEST_URI']);
    }
    ?>
    PHP:
    Active Server Pages (ASP)
    This code should be inserted into a global include file or any ASP script which is executed for every page on the site before the page output begins:

    <%
    If InStr(Request.ServerVariables("SERVER_NAME"),"www") = 0 Then
    	Response.Status="301 Moved Permanently"
    	Response.AddHeader "Location","http://www."
    		& Request.ServerVariables("HTTP_HOST")
    		& Request.ServerVariables("SCRIPT_NAME")
    End if
    %>
    Code (markup):
     
    minstrel, Mar 27, 2007 IP
  11. minstrel

    minstrel Illustrious Member

    Messages:
    15,082
    Likes Received:
    1,243
    Best Answers:
    0
    Trophy Points:
    480
    #11
    Are you actually reading these threads or just mindlessly posting? :rolleyes:
     
    minstrel, Mar 27, 2007 IP
  12. suicidalsam

    suicidalsam Active Member

    Messages:
    1,758
    Likes Received:
    62
    Best Answers:
    0
    Trophy Points:
    88
    #12
    suicidalsam, Mar 27, 2007 IP
  13. dhruv37

    dhruv37 Well-Known Member

    Messages:
    3,222
    Likes Received:
    195
    Best Answers:
    0
    Trophy Points:
    165
    #13
    Hello minstrel,

    Thanks for really nice update.

    Beyond link is really very helpfull.

    :)
     
    dhruv37, Mar 27, 2007 IP
  14. grg

    grg Guest

    Messages:
    2,692
    Likes Received:
    73
    Best Answers:
    0
    Trophy Points:
    0
    #14
    Don't write "update"!!! Someone could get it as there were one ;).

    Thanks Minstrel
     
    grg, Mar 27, 2007 IP
  15. adnan

    adnan Peon

    Messages:
    1,614
    Likes Received:
    82
    Best Answers:
    0
    Trophy Points:
    0
    #15
    Thanks for the post.

    Much appreciated.

    I thought something was going on, didn't know quite sure what it was.


    thx
     
    adnan, Mar 27, 2007 IP
  16. cyphix

    cyphix Well-Known Member

    Messages:
    245
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    103
    #16
    I can't remember the last time my sites changed. :(
     
    cyphix, Mar 27, 2007 IP
  17. suicidalsam

    suicidalsam Active Member

    Messages:
    1,758
    Likes Received:
    62
    Best Answers:
    0
    Trophy Points:
    88
    #17
    I am seeing huge changes in lots of DC's. I have a pr3 blog and lot of dc r showiing pr0 and others pr4. wats happening.is this just a BL update or a PR update?The same thing happened in the last pr update.I m new to the PR thing so could someone explain it to me?
     
    suicidalsam, Mar 27, 2007 IP
  18. minstrel

    minstrel Illustrious Member

    Messages:
    15,082
    Likes Received:
    1,243
    Best Answers:
    0
    Trophy Points:
    480
    #18
    How about you start by reading the thread... BEFORE posting?
     
    minstrel, Mar 27, 2007 IP
  19. suicidalsam

    suicidalsam Active Member

    Messages:
    1,758
    Likes Received:
    62
    Best Answers:
    0
    Trophy Points:
    88
    #19
    i have read this thread .I checked my pr with this tool http://livepr.raketforskning.com/?u=http://www.dvasports.com/ and Pr in lots of DC are flutuation like it did in the last PR update I am really confused so..just wanted some info from other ppl.:confused:
     
    suicidalsam, Mar 27, 2007 IP
  20. JJnacy

    JJnacy Peon

    Messages:
    448
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #20
    JJnacy, Mar 27, 2007 IP