Title: Alter the title in header.php
Last modified: August 19, 2016

---

# Alter the title in header.php

 *  [patrikwe](https://wordpress.org/support/users/patrikwe/)
 * (@patrikwe)
 * [17 years, 8 months ago](https://wordpress.org/support/topic/alter-the-title-in-headerphp/)
 * In header.php in my theme the title looks like this:
    `<title><?php wp_title('');?
   ><?php if(wp_title('', false)) { echo ' |'; } ?> <?php bloginfo('name'); ?></
   title>`
 * Now, I want to use another title if I have a $_GET parameter in the url that 
   is called album. But if I just write
    <title>dsalfjsdf</title> the title is’nt
   changing.
 * What can I do to be able to alter the title tag?
 * Cheers…

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

 *  [thesoofoo](https://wordpress.org/support/users/thesoofoo/)
 * (@thesoofoo)
 * [17 years, 8 months ago](https://wordpress.org/support/topic/alter-the-title-in-headerphp/#post-867836)
 * Normally you would do this within your wordpress admin, what your doing is just
   the harder way.
    I have a feeling that you fixed this by now, by just clearing
   your cache.
 *  Thread Starter [patrikwe](https://wordpress.org/support/users/patrikwe/)
 * (@patrikwe)
 * [17 years, 8 months ago](https://wordpress.org/support/topic/alter-the-title-in-headerphp/#post-867843)
 * I found that it is my plugin “All in one seo” that is overwrite the titles I 
   am writing in header.php.

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

The topic ‘Alter the title in header.php’ is closed to new replies.

 * 2 replies
 * 2 participants
 * Last reply from: [patrikwe](https://wordpress.org/support/users/patrikwe/)
 * Last activity: [17 years, 8 months ago](https://wordpress.org/support/topic/alter-the-title-in-headerphp/#post-867843)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
