Title: PHP Title Tag
Last modified: August 18, 2016

---

# PHP Title Tag

 *  [jozizo](https://wordpress.org/support/users/jozizo/)
 * (@jozizo)
 * [19 years, 3 months ago](https://wordpress.org/support/topic/php-title-tag/)
 * I am currently using:
 * <title><?php
 *  if (is_home()) { print “whatever title I want to have on my blog home page.”;}
   else { bloginfo(‘name’); print ” | “; wp_title(‘ ‘); } ?></title>
 * for my title tag. The problem is the ‘if (is_hom()’ part. I want to display a
   specified title as this suggests, but I have the “front page” redirecting to 
   a self made “home” page. That’s the one I want to have the desired title tag 
   for, and the dynamic one for the others. This code is making it so that the original
   home page is using my desired title. How do I fix this. Any and all help is greatly
   appreciated

The topic ‘PHP Title Tag’ is closed to new replies.

## Tags

 * [head](https://wordpress.org/support/topic-tag/head/)
 * [php](https://wordpress.org/support/topic-tag/php/)
 * [tag](https://wordpress.org/support/topic-tag/tag/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [jozizo](https://wordpress.org/support/users/jozizo/)
 * Last activity: [19 years, 3 months ago](https://wordpress.org/support/topic/php-title-tag/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
