Modifying Wordpress Title Tags
Welcome back!
Title Tags
Modifying wordpress title tags within the pages that you will create directly affects the SEO of your entire wordpress blog.
To ensure that these are set up correctly you will need to modify the header.php page associated with the current wordpress theme you are using.
Note: Some of the newer wordpress themes are already optimized for SEO, however it’s important to check to ensure that they are before you begin to use the theme.
To do this, click on DESIGN and then click on Theme Editor.
You will see a listing of files associated with your current theme. Look for the one titled “header.php” and click on it to load the code into the editing window.
In order to edit any pages of your theme, you will have to change the permissions of the file by logging into your FTP, clicking on the header.php page and setting the permissions to 777, so it can be writeable (changed).
Once you have made the changes, you can set the permissions back to their default settings.
Within this header.php file, you want to replace the code that is contained within the tag with the following:
elseif (is_single() || is_page() ) { single_post_title(); } elseif (is_search() ) { bloginfo('name'); echo " search results: ";
echo wp_specialchars($s); } else { wp_title('',true); } ?>
Like I mentioned previously, check the current page before modifying it as it may already be optimized this way.
Click “Save” to apply your changes.
There are a few things to keep in mind when you are entering in titles for your blog posts and pages.
Google only shows the first 70 characters of your title within search results, so be sure to include your most important keywords within each title, stripping away any clutter.
You should also focus on using different page titles for each post, and avoid using the same keyword at the start of every page title as well to optimise the wordpress seo results.
Mix it up and be creative with your titles while remaining consistent and taking measures to ensure that each of your titles directly describes the content of each particular page.