Thu. Mar 28th, 2024

change-wordpress-title-tag Improve your SEO score by incorporating blog post titles into your <TITLE> tag of your WordPress blog.  How is that for a long sentence?

Log into WordPress and edit your theme…look for header.php and change your title code to the following:

<title><?php if(is_home()) { echo bloginfo('name'); echo ' | '; echo bloginfo('description'); } else { echo single_cat_title("", false);echo wp_title(' | ', false, right); echo bloginfo('name'); } ?></title>

This will, for each post, automatically plop your post name into your TITLE tag, helping with SEO relevancy. 

By admin

Leave a Reply