How to SEO optimize your WordPress site title to improve Rankings and Search Results
In one of our previous article, we have learned about how to optimize blogger blog title forSEO. In this article we are going to learn about how to optimize
wordpress site title to increase rankings. When it comes to wordpress, there
are a lot of seo plugins that will come in handy and are really useful in
helping to increase the traffic growth of the wordpress site. The most used and
useful SEO plugin of wordpress is Yoast SEO plugin. There are also a lot other
but i would recommend you to go with the Yoast.
But it is always better to have some tricks up your sleeve, so that they
come in handy in times of need.
Optimize your WordPress Title
Unless you are using a premium theme, by default, the code
for your wordpress site will be like the one shown below.
<title><?php bloginfo('name'); ?> <?php if
( is_single() ) { ?> » Blog Archive <?php } ?> <?php wp_title();
?></title>
But the above title code won’t do any good to your site,
when it comes to SEO. So, it is always recommended to have an ideal search
engine friendly title for your wordpress site as shown below.
<title><?php if (is_home () ) {
bloginfo(‘name’); }
elseif ( is_category() ) { single_cat_title(); echo ‘ - ‘
; bloginfo(‘name’); }
elseif (is_single() ) { single_post_title();}
elseif (is_page() ) { single_post_title();}
else { wp_title(‘’,true); } ?></title>
How to add the code to your WordPress site?
Step 1: Login to your WordPress site dashboard.
Step 2: Navigate to Appearance >> Editor.
Step 3: In the right side, you can find the names of various
files like header.php, footer.php etc..;
Step 4: Now click on header.php and press ctrl+f and find
the first set of code we have shared above.
Step 5 : Now replace that first set of code with the second
set and click save.
That’s all you need to do and your wordpress site’s title is
now completely optimized. If you want to know more about interesting topics
like this, then please subscribe to our newsletter and stay informed. Also
please share your views related to this article in the comments section below.
Thank you.