Title: Parse error: syntax error, unexpected T_STRING&#8230;
Last modified: August 19, 2016

---

# Parse error: syntax error, unexpected T_STRING…

 *  [Lars Daniel](https://wordpress.org/support/users/lars-daniel/)
 * (@lars-daniel)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-21/)
 * I am almost done with this site: [http://www.blog.halfdane.dk](http://www.blog.halfdane.dk)
   
   I have made a redirect from [http://www.halfdane.dk](http://www.halfdane.dk) 
   to the above site, but if you click on the link you will see the error message.
   Any ideas? It says something is wrong with my ad-to-header, but as you can see,
   it works fine on [http://www.blog.halfdane.dk](http://www.blog.halfdane.dk)
 * BTW: Perhaps I should also ask: I have built the site at [http://www.blog.halfdane.dk](http://www.blog.halfdane.dk),
   but it is supposed to be at [http://www.halfdane.com](http://www.halfdane.com)
   which is also hosted at my host. I am thinking should I just use a redirect, 
   or is there a better way to make the switch?
 * Thanks!
    -Lars

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [jkovis](https://wordpress.org/support/users/jkovis/)
 * (@jkovis)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-21/#post-2054014)
 * It looks like halfdane.dk is running PHP 4.4.9 while the “Add to Header” plugin
   requires PHP 5.
 *  Thread Starter [Lars Daniel](https://wordpress.org/support/users/lars-daniel/)
 * (@lars-daniel)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-21/#post-2054151)
 * Thanks, you were absolutely right! Problem solved.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Parse error: syntax error, unexpected T_STRING…’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [Lars Daniel](https://wordpress.org/support/users/lars-daniel/)
 * Last activity: [14 years, 11 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-21/#post-2054151)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
