Hello, Jack here.

The other day I shared the article “Step by step guide to website SEO” but many of you (Bloggers) do not know how to optimize and many of you are very confused because you think that it must be done by an expert. Read through this article, maybe you are an “expert”. Today I will share my own way of working after a period of brooding, repeating, studying everywhere.



How to Setup and Optimize Your Blog for WordPress SEO

Setup and Optimize Your Blog

I’ve always approached SEO for WordPress through the basic principles of SEO.  I focus on the three major search engine factor areas and by doing this I can focus my optimization efforts.

The 3 Major Search Engine Optimization Factor Areas:

  • On-site SEO
  • On-Page SEO
  • Off-Site SEO

We will be covering all 3 aspects here in this guide and by the end, you will be able to publish content on your site knowing your WordPress website has been set up correctly and is highly optimized.  Your blog will then be able to maximize it’s SEO Rankings in Google’s search results every time you publish a new post or page.

It’s all about establishing a foundation for SEO and that’s what we are going to do.

We are going to go through this as if you haven’t even installed your site yet and take it to step by step.  This will help you make sure you hit every SEO Milestone as you go.

I don’t want you to miss anything.

Let’s get started.

Lets Go

1.  Selecting Your Domain Name

A few years ago the selection of your domain name was a critical part of SEO.  The keywords in the domain and whether or not it was a .com were both hugely important factors.

This is not something you need to worry about now.  Now any domain will do.  That being said, I still think picking the right domain is important for brand recognition.

You always want to pick a name that is easy to recognize and is easy to remember.  Anything which is too complicated or long will diminish the intrinsic value of the domain.  So pick the right one in the beginning and while having your site’s target keywords in the title might give it a slight boost, it really won’t provide much if any help.

Branding will be more important to your business in the long run.

2.  Selecting Your Web Host

Yes, website hosting is an important part of your WordPress SEO.  I always get questions asking why hosting is such an important part of the process and the answer is simple.

One of Google’s ranking factors is Site Speed (page load times).  They check this for both desktop and mobile versions of your site and each will affect your site’s rankings accordingly.

Site speed and loading times are affected greatly by the web host you use for your site.  The more optimized the server you are on, the faster your site will be and the faster it will load.

One of Google’s newest and most important ranking factors is ​”User Experience“.  Site speed and loading times are a part of this and critical user experience elements that you cannot ignore.

I like to use two (2) seconds​ as my benchmark for page loading times.  Google says you have an average of 2 seconds to capture the attention of your site’s visitors.  If your pages don’t even load in 2-3 seconds, you might have a problem.

There are other ways of improving user experience, site speed, and page load times; but it all begins with your web host.  We will go over more ways to improve this later in this Tutorial, so please keep reading.

There are a lot of hosting options out there, but I have a few recommendations to help get you started.

  • Bluehost: This is specialized WordPress Hosting starting at just $3.95/month with Free SSL, CDN, and Supercacher.
  • Hawkhost: This is a highly optimized solution for WordPress sites that are looking to grow.  *This is a fully managed solution with a Free SSL Certificate.
  • Hostinger: Hosting extremely cheap (only 0.99$/month), web speed is also quite high.

*If you haven’t started your blog yet, I highly recommend starting with my How to Start a Blog guide.  Especially if you just installed your blog or are getting ready to.  It will help you to start there first before going through your SEO setup and optimization process.  There are a few setup items you don’t want to miss that is crucial to optimizing your blog for SEO.

Once you have web hosting and have installed your blog, it is time to start digging into the individual settings and optimizations of your site.

SSL Certificate​

Having an SSL Certificate on your site is great for security.  It is also a Google ranking factor. With this being a relatively new factor, it is safe to say it will only grow in importance.

The security and safety of a website is part of the user experience equation, so I expect this to be something you will need on your site sooner than later.

I am going to be switching everything here to SSL soon.  It will be a pain, but I know I have to do it.

This is one of those things which really need to be done by your host.  If you cannot do it yourself, use your hosting support.  More time than not, they are happy to help with this, especially if it helps you become a long term customer.

The hosting companies above all have free SSL options, making it easier to get started.  You can also use the Free SSL service, Let’s Encrypt.  It is a solid open-source option for taking care of your blog.  If you are running an eCommerce shopping cart, I suggest upgrading to a higher level SSL.  For SEO purposes on a blog, the free option is definitely enough.



3.  Set Your Permalinks

After you install WordPress the first thing you should do is set your Permalink settings.  This will help you create an SEO Friendly URL structure on your site.

This will make your old default Wordrpess URLs go from looking like this:

https://www.nhuongblog.com/?p=972

To looking great like this:

https://nhuongblog.com/how-to-setup…

All you have to do is make the change in your Settings > Permalinks section from the default settings to the “Post name” settings and click Save.

Once you’ve done this you now have “SEO Friendly URLs“.

This step will also automatically create the settings which actually make this work inside your .htaccess file in the root of your site directory.  The .htaccess file controls redirects, special commands, and the URL Rewrite commands which make this new and SEO Friendly URL structure possible.

4.  Install the Yoast SEO WordPress Plugin

It might sound simple, but installing a plugin, no matter how many features it has, will NOT optimize your blog for SEO.   There are still a lot of steps you need to follow after installation until your blog is truly optimized.

You can do a search for the plugin from inside your WordPress installation admin menu by going to Plugin​ > Add New and typing “Yoast SEO” in the search box.  You can then install it and activate the plugin right from inside the WordPress Admin.  If you want to do it manually, you can download the plugin from the WordPress Repository here.

The WordPress SEO plugin is a great free option for fulfilling the optimization tasks required for SEO on your site.  There is a Premium Version, but it isn’t something I would say that is required unless you are in a very competitive niche.

5. Yoast SEO General Settings

The first thing we need to do after installation is to connect your site with the Google Search Console. We will do this in the General Settings portion of the Yoast SEO plugin in the Webmaster Tools Verification tab.

Connect Google Search Console

While Bing and Yandex are great search engines in their own right, I recommend connecting Google ​Search Console first  What this does is allow you to use the tools inside Search Console to get Google to index and crawl your site when you are ready among other things.

Here’s what you need to do.

  1. Create your account at Google Search Console.​
  2. Click on the Red “Add a Property” button.
  3. Choose the Meta Tag Verification option.
  4. Copy the Meta Tag HTML and Paste it into the Google Search Console section of the Webmaster Verification section of Yoast SEO and click the Save button.
  5. Now go back to Google Search Console and click on the Verify button.
  6. That’s it!  Your blog should now be connected to Search Console and Webmaster Tools.

webmaster-tools-verfication-nhuongblog

Now that you are connected to Search Console you will be able to accomplish some other tasks which we will go over a little later.

Add Company or Business Information

In the Yoast SEO General settings section, you then need to add your company, blog, or business information.  This lets Google identify your site in search by its name or alternate name.  It’s rather simple.  Just follow the directions and input your own information in the format shown below.



6.  Setting Up Titles and Post Meta Data

The Yoast SEO WordPress plugin automatically creates post-Meta Data and Titles so Google and other Search Engines can read them.  This comes with preset default template tags which I recommend using.  You can make minor tweaks, but the guys at Yoast are some of the top SEO Experts on the web.  Take their recommendations seriously here.

There are 2 parts of the Yoast SEO plugin which control Post and Page Meta Titles and Meta Descriptions​.  The main plugin settings and page/post specific settings.  I will show you how to set up each one to get the best optimization possible.

Optimizing the Titles and Descriptions Template

The main plugin settings portion in the WP Admin controls the overall template which helps ensure that all the titles and descriptions are written for every post and page on your site.  Start by going to the Titles and Metas section in Yoast.

Optimizing for Individual Posts and Pages

The second place you can edit Titles and Descriptions is directly in the Post and Page edit pages.  This allows you to do custom SEO specific edits to really optimize each and every post or page you create.

Categories and Tags Settings

When it comes to Categories and Tags, the general rule is to allow Categories to be indexed and set your Tags for noindex.  The main reason for this is because people tend to add a lot of Tags to their site.  Google will still follow the Tags, but it won’t index them, minimizing issues with duplicate content.

Author and Date-Based Archive Settings

For your Author Archive settings (in the Archives Tab), I recommend not enabling these unless you have a multi-author blog with a lot of contributors.​  You can see my recommended settings below.  Do not allow the Date-based archives to be enabled as they simply create a lot of duplicate content on your site and this is definitely not good for your SEO.

Other Sitewide Settings

In the Other section, use the Yoast default settings.  As you can see in the image below, I recommend setting the Subpages of Archives to “noindex” and I definitely do not recommend using the Meta Keywords Tag in your blog.  Google doesn’t recognize the Meta Keywords Tag anymore and by using it you would simply be wasting your time.

7. XML Sitemap Settings

I recommend sticking to the default settings for the XML Sitemaps (SEO > XML Sitemaps) in Yoast SEO too.  If you are intermediate to the advanced user you can go into each tab section and select individual parts of your site that you do or do not want including in your sitemap.  It is better to leave this alone if you are not 100% sure of what you are doing since the other settings we have gone through above will tell Google how to treat your content.

xml-sitemaps-nhuongblog

Submit Your XML SItemap to Google Search Console

Once your XML sitemap has been created, your first instinct may be to submit it to Google right away.  I recommend setting up at least a base set of Categories, your main pages (About Us, Contact, Privacy Policy, etc.), and create at least 2 posts before submitting.  This way you are adding something to Google worth indexing.  If you are not ready for Google to visit your site, then hold off until you are.

Once you are ready to submit, all you have to do is go back to the Search Console account you created previously.  Using the sidebar menu inside your site property management dashboard, go to Crawl > Sitemaps.

Next, click on the Add Test/ Sitemap button and add your sitemap URL.  All you should need to add is “sitemap_index.xml” to the form. and then click the Submit Button.

The sitemap should be checked by Google and auto-updated.  I still always come back and resubmit mine about every 90 days, just to make sure Google is getting the updates to my site.

8. Submitting Your Site to Google for Indexing​

Once your sitemap has been submitted, stay in Search Console and go to the Crawl > Fetch as Google section.  Here you can submit your entire site or just specific pages for indexing.  I recommend submitting your base domain URL.

9. Yoast Social SEO Settings

Next, go to the SEO > Social section of the Yoast SEO Plugin and fill in the entire section, going from Tab to Tab.  If you do not have one of the accounts listed, that is OK, but I recommend that you go set each social media to account up that is listed in the Tabbed sections at a minimum.  Facebook, Twitter, Instagram, and Pinterest will help you with Social SEO quite a bit.​

10. Optimizing Your Robots.txt file

This optimization is easy.  The Yoast SEO plugin takes care of your Robots.txt file for you.  You shouldn’t have to do anything to the file at all.  In years past Google couldn’t see CSS and Javascript when it visited your site.  That’s all changed now.  Remember, Google can Render and see everything and when you block them from seeing something, they don’t like it.  Yes, this includes the WordPress /wp-includes file.

Don’t get me wrong, there are Advanced cases where you do want to block Google, bots, or even other search engines.  Things like Special Memberships, private content, images, etc.  But for most sites, you want Google to see and crawl everything.  You don’t want to block any links which are providing you SEO value inadvertently.

11. Optimizing Images for SEO

When it comes to optimizing your images in WordPress it couldn’t get much easier.  You see, Google only looks at the “Alternative Text” or “Alt Text” for images when it comes to Image SEO.  In WordPress, all you have to do is fill in the Alt Text form field when you upload a new image as shown below.

Add Media

All you have to do is enter SEO Keyword friendly descriptions of your images in the Alt Text box and that is good.  For example, when I added the image above, I created the following Alt Text for it: Editing Image Alt Tags in WordPress.”

Remember, visitors can see the Alt Text when they hover over images on your site and when people browse without images in different RSS Readers, the only see your Alt Text, so make sure it is descriptive and not spammy.

If you use a lot of images or do a lot of bulk uploading of images, you may want to use a plugin to optimize the Alt Text.  I recommend using the SEO Optimized Images plugin.  It does everything you need.

12. Site Speed Optimizations for WordPress

When it comes to optimizing your WordPress blog for speed, there are a lot of optimizations you can do.  The best optimizations often happen at the Server level and this is why Web Hosting was one of the first things I talked about in this Tutorial.  Your Host will dictate what optimization you can do in a lot of cases with different types of server-level caching tools, etc.

For WordPress itself, I always recommend using a caching plugin and a CDN. at a minimum.  Some WordPress Hosting services provide both and make it easy to setup.

Caching Plugin

The reason for using a caching plugin is so when you have the same content on your site and it doesn’t change, you can have those pages “cached” and ready to load when someone visits your site.  This becomes even faster when a visitor visits more than once.  They get served the cached version of the page and it makes the pages load super fast.  This is what both plugins listed above do.  In fact, they also do a lot more.  Database caching, browser caching, CSS, HTML, and Javascript minification, and much more.

All of this boosts the speed and load times of your posts and pages.  It can make a slow dull site turn into a high-speed site with about an hour’s worth of work on your part.

Content Delivery Network (CDN)​

When I am recommending the services like MaxCDN and Cloudflare, it is because these services can help take the load off your server by hosting your images and even your static Theme files, CSS, and Javascript for you and the cost is either Free (Cloudflare which is the slower option) or for pennies per Gigabyte (MaxCDN which is much faster).

I use WP Fastest Cache and MaxCDN on this site right now.  One of the drawbacks to a caching plugin sometimes is the conflicts that arise when you use ​a lot of fancy plugins like I do.  This is why I am using this simple option here, but most of my other sites all use W3 Total Cache with MaxCDN and/ or MaxCDN and Cloudflare combined.

Conclusion

Your site is now optimized for SEO and ready to go!  There are a lot of other things you can do for SEO on your WordPress blog, but when it comes to Setting up and Optimizing for Beginner WordPress SEO as a base for your site, we have covered everything you need to do in order to get started.

This setup will help your site get the jump start it needs and make every post and page you create rank faster and better than ever before.  You are ready!

Where do you find it difficult? Leave your comments below for more discussion, I’m happy to share them with you.