Fork me on GitHub

Help, can't find ?> tag, messed up my google ranking!  Bottom

  • Wow, I didn't realize that having this one thing in my theme.php would mess up my google ranking.

    search on "PBX", my site use to be first, http://www.pbxinfo.com

    But I added a Javascript Menu and now if you look in my header you can see a ?> PHP code but I don't know why its showing up.

    can anyone tell me what I need to do to close this tag up??

    Thanks

    Code

    <?codewas here fixed now

    ?>


    Thanks for any help.
  • Hi, rixride - this extra tag has nothing to do with affecting your Google ranking. Google is going through some *ahem* changes and applying new algorithms which is makeing the "Google Dance" a bit more chaotic than usual.

    I think I addressed this issue in another post of your's, but you appear to have an improperly closed off "echo" statement:

    Code

    ."<br /><font class=\"pn-slogan\">$slogan</font><br \><br \><br \><br \></td>?>

    <table><tr><td><script type='text/javascript'>

    P.S. and those
    tags are wrong ;)

    --
    Get PhotoGallery, PayPalCart, Dynamenu, Enhanced Blocks & other mods

    Cape Cod Travel Info...
  • nate_02631

    P.S. and those
    tags are wrong ;)


    Actually thats not strictly true. While
    is an XHTML element rather than HTML element (
    ) i've found that this form of XHTML element will validate correctly both in the transitional and strict HTML 4.01 doctypes. So you can ease the move to XHTML by adding all singular elements using the XHTML format.

    Then all you need to do is change the header and doctype; interesting the same rule doesn't apply to header elements (meta tags and the like) which is a pain....

    This is documented in this compatability guide.

    -Mark

    --
    Visit My homepage and Zikula themes.
  • nate_02631

    Hi, rixride - this extra tag has nothing to do with affecting your Google ranking. Google is going through some *ahem* changes and applying new algorithms which is makeing the "Google Dance" a bit more chaotic than usual.

    I think I addressed this issue in another post of your's, but you appear to have an improperly closed off "echo" statement:

    Code

    ."<br /><font class=\"pn-slogan\">$slogan</font><br \><br \><br \><br \></td>?>

    <table><tr><td><script type='text/javascript'>

    P.S. and those
    tags are wrong ;)


    Thanks guys, Well The reason why I thought it messed up my Google Rating is because in the Site description on Google it now indexes the ?> as part of the description along with some of the commented out Script comments.

    See This:

    Quote

    Pbx Info Your Free PBX, PABX and Telephone System Information Resource,
    ?> Your browser does not support script. ... Welcome to Pbx Info.com. ...
    Description: Information on PBX and other Telecom systems, including Voicemail, VoIP and Unified Messaging.


    Thanks I guess I should delete that close tag?

    Thanks again.
    -Rick
  • That worked Thank you again nate.
  • rixride


    Thanks guys, Well The reason why I thought it messed up my Google Rating is because in the Site description on Google it now indexes the ?> as part of the description along with some of the commented out Script comments.


    See This:

    Quote

    Pbx Info Your Free PBX, PABX and Telephone System Information Resource,
    ?> Your browser does not support script. ... Welcome to Pbx Info.com. ...
    Description: Information on PBX and other Telecom systems, including Voicemail, VoIP and Unified Messaging.


    Thanks I guess I should delete that close tag?

    Thanks again.
    -Rick[/quote]

    Ok just an update, after changing this back The next time Google indexed I got put back on top.

    check it out, I added the word "PBX" to the error message for my script, and google indexed it.

    Go to google and and type in "PBX" and you will see my new description. I am also back at Number 1 so I conclude that it had everything to do with that simple mistake. :)


    New Google Description:

    Quote

    Pbx Info :: Your Free PBX, PABX and Telephone System Information ...
    Pbx Info Your Free PBX, PABX and Telephone System Information
    Resource, Your PBX browser does not support script. ...
    Description: Information on PBX and other Telecom systems, including Voicemail, VoIP and Unified Messaging.


    Nate: I realize its probably not fixed properly but the symbol doesn't show up anymore and my rank is fixed so I am happy. Thanks again for your help. :)

This list is based on users active over the last 60 minutes.