Title: HTML is repeating
Last modified: August 19, 2016

---

# HTML is repeating

 *  Resolved [cosmocanuck](https://wordpress.org/support/users/cosmocanuck/)
 * (@cosmocanuck)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/html-is-repeating/)
 * Hi! I just upgraded my old WP to 2.5.1. – and now, I’m getting a duplicate header
   at the bottom of every page of my site.
 * After the </body>, the HTML seems to just start over again, and then cut off 
   somewhere just after the header.
 * I’m baffled – it’s nothing that’s in my theme pages, that’s for sure!
 * Has anyone else run into anything like this?
 * Thanks,
    adam

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

 *  [t3ch33](https://wordpress.org/support/users/t3ch33/)
 * (@t3ch33)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/html-is-repeating/#post-761335)
 * Are you sure that all you did was upgrade? You didn’t edit any of your WordPress
   files?
 *  [haochi](https://wordpress.org/support/users/haochi/)
 * (@haochi)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/html-is-repeating/#post-761337)
 * Delete `<?php get_header(); ?>` in your theme’s footer.php, if there’s one.
 *  Thread Starter [cosmocanuck](https://wordpress.org/support/users/cosmocanuck/)
 * (@cosmocanuck)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/html-is-repeating/#post-761373)
 * Thanks guys. t3ch33, I definitely did not edit any WP files – just copied over
   my theme.
 * And haochi, there is no duplicate “get_header” in my footer.
 * I’ll try just re-copying my theme files over. Maybe there was some kind of glitch
   I just can’t see…
 *  Thread Starter [cosmocanuck](https://wordpress.org/support/users/cosmocanuck/)
 * (@cosmocanuck)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/html-is-repeating/#post-761378)
 * OK, that didn’t work. I see that if I even remove EVERYTHING from my header or
   my footer… the duplicate header still appears!
 * WHERE is this coming from? I’m baffled and getting anxious…
 * FYI, the link is: [http://www.adamabrams.com](http://www.adamabrams.com)
 * Thanks!
    adam
 *  Thread Starter [cosmocanuck](https://wordpress.org/support/users/cosmocanuck/)
 * (@cosmocanuck)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/html-is-repeating/#post-761413)
 * It seems to be trying to include the header at the bottom, no matter what – if
   I actually rename “header.php” to something else, it inserts the blog title and
   tagline down there. Strange…
 *  [Andi Saleh](https://wordpress.org/support/users/bindanaku/)
 * (@bindanaku)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/html-is-repeating/#post-761414)
 * Well, the html says the extra header at the bottom is wrapped with the div “sizer”.
   You might want to check footer.php file cause it’s in every page.
 *  Thread Starter [cosmocanuck](https://wordpress.org/support/users/cosmocanuck/)
 * (@cosmocanuck)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/html-is-repeating/#post-761415)
 * Hey, I solved it! For some reason, on my “index.php” page in the root of the 
   site, after the expected code:
 * <?php
    /* Short and sweet */ define(‘WP_USE_THEMES’, true); require(‘./wordpress/
   wp-blog-header.php’); ?>
 * was the line:
 * <?php get_header(); ?>
 * …which of course was adding the header after every single page of the site!
 * How it got there I’ll never know, but deleting it solved the problem.
 * Thanks to everyone for their attempts to help!
 * Adam
 *  [haochi](https://wordpress.org/support/users/haochi/)
 * (@haochi)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/html-is-repeating/#post-761416)
 * Guess I was pretty close, just pointing to the wrong file.
    And you said, “I 
   definitely did not edit any WP files ” … Clearly you did.

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

The topic ‘HTML is repeating’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 8 replies
 * 4 participants
 * Last reply from: [haochi](https://wordpress.org/support/users/haochi/)
 * Last activity: [18 years, 1 month ago](https://wordpress.org/support/topic/html-is-repeating/#post-761416)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
