Removing Duplicate Title Tags
-
My website: http://www.seowhitehats.com is showing duplicate title tags on every page when you “view source code” and i was wondering how I can remove one of these title tags so only one shows per page. I believe it’s located in page.php but i’m not sure. My page.php is below… Can someone please tell me what I need to remove. My email is ryanpezzotti@gmail.com. Thank you.
<?php $dateFormat = get_settings(‘date_format’); ?> <?php get_header(); ?> <div id=”content”> <!–subscribe #end –> <div id=”content-inner”> <div id=”main”> <div id=”socialbar2″><div id=”socialicons”> <img src=”http://www.seowhitehats.com/Images/Social/twitter-icon.jpg” alt=”twitter”> <img src=”http://www.seowhitehats.com/Images/Social/facebook-icon.jpg” alt=”facebook”> <img src=”http://www.seowhitehats.com/Images/Social/rssfeed-icon.jpg” alt=”feedburner”> <img src=”http://www.seowhitehats.com/Images/Social/youtube-icon.jpg” alt=”youtube”> <img src=”http://www.seowhitehats.com/Images/Social/linkedin-icon.jpg” alt=”linkedin”> </div> <div id=”subscribeform”><?php include (TEMPLATEPATH . “/includes/subscribeform2.php”); ?> </div></div> <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> <div class=”post” id=”post-<?php the_ID(); ?>”> <h2>” rel=”bookmark” title=”<?php _e(‘Permanent Link to ‘); ?><?php the_title(); ?>”><?php the_title(); ?></h2> <div class=”entry”> <?php the_content(__(‘Read more »’)); ?> <div style=”clear:both”></div> </div> <div class=”postmetadata”> <p><?php the_author_posts_link(); ?> | <?php the_date($dateFormat); ?></p> </div> <?php comments_template(); ?> </div> <?php endwhile; ?> <div id=”navigation”> <div class=”fleft”><?php next_posts_link(__(‘« Older’)) ?></div> <div class=”fright”> <?php previous_posts_link(__(‘Newer »’)) ?></div> </div> <?php else : ?> <div class=”post”> <div class=”entry”> <?php _e(‘<h2>Not Found</h2>’); ?> <?php _e(‘<p>Sorry, you are looking for something that isn\’t here.</p>’); ?> </div> </div> <?php endif; ?> </div> <!– eof main –> <?php get_sidebar(); ?> <?php get_footer(); ?>
- The topic ‘Removing Duplicate Title Tags’ is closed to new replies.