• After trying to verify my site through Bing, by entering their code into my header.php in my themes editor, then finding out that it didn’t work, I removed the code, and only the code, and now I get “Parse error: syntax error, unexpected T_STRING in /home/content/47/10181747/html/wp-content/themes/gitem/header.php on line 27” when I try to go to my blog.

    I don’t understand what went wrong. Please help.
    Forrest

Viewing 7 replies - 16 through 22 (of 22 total)
  • Thread Starter ffinch815

    (@ffinch815)

    Yep that did the trick! Thank you! Thank you!

    Thread Starter ffinch815

    (@ffinch815)

    Not to be a nuisance, but where the heck was I supposed to put that verification code for “Bing”?

    Glad I could help ??

    where the heck was I supposed to put that verification code for “Bing”?

    What did it look like?

    Thread Starter ffinch815

    (@ffinch815)

    <meta name=”msvalidate.01″ content=”B12059854910F4F356E97FCFD398384C” />

    I was instructed to to insert it into my header.php

    Thread Starter ffinch815

    (@ffinch815)

    These were my instructions

    Option 2: Copy and paste a <meta> tag in your default webpage

    You can add a <meta> tag containing the authentication code to the <head> section of your default webpage.
    <meta name=”msvalidate.01″ content=”B12059854910F4F356E97FCFD398384C” />
    An example:
    <html>
    <head>
    <meta name=”msvalidate.01″ content=”B12059854910F4F356E97FCFD398384C” />
    <title>Your SEO optimized title</title>
    </head>
    <body>
    page contents
    </body>
    </html>

    Sounds like you were working on the right file. Try adding the line to header.php again just before <?php wp_head(); ?>. Make sure that you editing the file in a plain text editor and that you make a backup of the file before editing it.

Viewing 7 replies - 16 through 22 (of 22 total)
  • The topic ‘Parse error: syntax error, unexpected T_STRING’ is closed to new replies.