Printer Friendly Version Print this thread
Email this thread to a friend eMail this thread to a friend
  • what is best php or html? (In: General Search Engine Optimization)
  • Featured Web Site Template

    Hundreds More at Free Site Templates.com!

    Web Site Partners
    Sponsored Links
    Jet City Software
     
    Whos Here ?
    Reflects user activity within the last 5 minutes
    Moderator(s): g1smd, Logan
    Member Message

    bf2
    Joined: Oct 26, 2005
    # Posts: 3

    View the profile for bf2 Send bf2 a private message

    Posted: 2005-Oct-26 19:07
    Edit Message Delete Message Reply to this message

    Running a PHP click counter script on my site. The script uses PHP's header url function to redirect and count the url being clicked.

    Based on http://www.webconfs.com/how-to-redirect-a-webpage.php, a HTTP 301 redirect will be more apporpriate for SEO's.

    Hence I changed my PHP script from

    [code]Header("Location: $url");[code]

    to

    [code]Header( "HTTP/1.1 301 Moved Permanently" );
    Header("Location: $url");[code]

    Will this affect my keyword rankings? Would this have a negative affect with Google in anyway? My only goal is to track the actual click throughs for various links on our homepage but not at the expense of positioning with Google.

    Any advice is welcome!



    [ Message was edited by: bf2 10/26/2005 11:18 am ]



    [ Message was edited by: bf2 10/26/2005 11:26 am ]





    g1smd
    Staff
    Joined: Jul 28, 2002
    # Posts: 10438

    View the profile for g1smd Send g1smd a private message

    Posted: 2005-Oct-26 20:10
    Edit Message Delete Message Reply to this message

    Google will index the page that you are redirecting to.

    That makes things a little awkward I expect.



    bf2
    Joined: Oct 26, 2005
    # Posts: 3

    View the profile for bf2 Send bf2 a private message

    Posted: 2005-Oct-26 23:46
    Edit Message Delete Message Reply to this message

    Thank you g1smd!


    Do you think Google looks down on this type of link/click through tracking? I was worried the keywords in the hyperlink would no longer carry the same weight for the page they are linking to. Googles guidelines did not seem to really cover this type of thing, I wish they did.


    You are not permitted to post messages in this forum or topic, because of one or more of the following reasons:
    1. You have not yet logged in, or registered properly as a member
    2. You are a member, but no longer have posting rights.
    3. This is a private forum, for which you do not have permissions.

    If you are a recent member, it's possible that you simply have not yet confirmed your account. Please check your email for a message entitled 'JimWorld Forums: Confirm Your Account' and follow the instructions contained within.

    If you cannot find this message, click here to Re-Send it.

    If you are still experiencing problem, please read the Login Assistance Article for some advice on what may be causing your login not to work properly.

    Switch to Advanced Editor and ... Create a New Topic or Reply to this Thread

    New posts Forum is locked
    © 1995  ·  iWeb, Inc  ·  DBA JimWorld Productions