Site icon Website Traffic Online

SEO for WordPress: Quick Start Guide

seo Services in India
Contents
1 Introduction
2 Pretty URLs
3 Robots.txt
4 HTTPS
5 XML sitemap
6 Site speed
7 Broken links
8 Free themes
9 Site structure
10 Pagination and crawling
11 Comments
12 Duplicate content
13 Content and WebSite Auditor

Introduction

WordPress is one of the most widely used content management systems around the web. According to W3Techs surveys, as of February 01, 2016 over 25% of websites depend on WordPress as a content management or blogging platform.

What makes it so popular?

1) WordPress is easy to use even for non-techies,
2) It has rich functionality,
3) It’s flexible, and
4) It’s absolutely free.

However, here are a few things you need to understand before you start optimising your WordPress website.

  • Keep in mind that a WordPress website does not differ from any website out there. You should apply the very same search engine optimization techniques to it as you would to any other website.
  • WordPress is often referred to as an SEO friendly content management system (CMS). It is indeed true: WordPress lets you implement many on-page SEO techniques. However, a WordPress website doesn’t come optimized out of the box. In other words, if you simply switch to WordPress from Joomla or Drupal, the rankings are unlikely to grow without additional effort.
  • Some crucial WordPress SEO changes require that you poke in PHP or HTML or install and tune up plugins. If any of these words sounds scary to you, be ready to spend extra time on reading additional tutorials.
  • If you need answers to the questions like “What is a title tag? What are SEO friendly URLs?” please refer to our online SEO book first.
  • For the purpose of this guide, I presume that you make a fresh installation of WordPress and are building your website from scratch.

Warning

Do not make any significant changes like installing or uninstalling the plugins or editing the theme on the production website without prior testing. Plugins may conflict with each other or the WordPress version of your website. This may cause malfunctions or undesired website behavior.

It’s safe to play around with WordPress on your local development server first.

If you still don’t have one, consider XAMPP or MAMP.


Pretty URLs

Earlier WordPress versions shipped with “ugly” URLs. For example, a blog post used to have a URL like this http://mydomain.com/?p=1354.

The latest versions use “pretty” URLs by default in the “date+name” format, e.g. http://mydomain.com/2016/02/28/sample-post/.

While this is clearly an improvement, you might want to consider taking the date off your URLs. In this case, your older posts with great and still useful content don’t shout at users “hey, the information here is as old as your grandma”.

In order to adjust URL settings, go to Settings > Permalinks in your Admin panel.

Introduction

WordPress is one of the most widely used content management systems around the web. According to W3Techs surveys, as of February 01, 2016 over 25% of websites depend on WordPress as a content management or blogging platform.

What makes it so popular?

1) WordPress is easy to use even for non-techies,
2) It has rich functionality,
3) It’s flexible, and
4) It’s absolutely free.

However, here are a few things you need to understand before you start optimising your WordPress website.

Warning

Do not make any significant changes like installing or uninstalling the plugins or editing the theme on the production website without prior testing. Plugins may conflict with each other or the WordPress version of your website. This may cause malfunctions or undesired website behavior.

It’s safe to play around with WordPress on your local development server first.

If you still don’t have one, consider XAMPP or MAMP.


Pretty URLs

Earlier WordPress versions shipped with “ugly” URLs. For example, a blog post used to have a URL like this http://mydomain.com/?p=1354.

The latest versions use “pretty” URLs by default in the “date+name” format, e.g. http://mydomain.com/2016/02/28/sample-post/.

While this is clearly an improvement, you might want to consider taking the date off your URLs. In this case, your older posts with great and still useful content don’t shout at users “hey, the information here is as old as your grandma”.

In order to adjust URL settings, go to Settings > Permalinks in your Admin panel.

If you need a comprehensive long-read guide on permalinks, have a look at this WordPress help article.

Note: In order to enable pretty URLs, WordPress should have write access to .htaccess file, if you run your WordPress website on an Apache web server (most likely this is the case).


Robots.txt

WordPress does not create a physical, permanent robots.txt file on the server. The CMS generates it on the fly, when a client requests it via http://mydomain.com/robots.txt. However, if you manually create a robots.txt file in the WordPress root directory, it will override the default settings.

If you stick with a dynamically generated robots.txt file, you have two options to manage it:

function do_robots() {
	header( 'Content-Type: text/plain; charset=utf-8' );

	/**
	* Fires when displaying the robots.txt file.
	*
	* @since 2.1.0
	*/
	do_action( 'do_robotstxt' );

	$output = "User-agent: *\n";
	$public = get_option( 'blog_public' );
	if ( '0' == $public ) {
	$output .= "Disallow: /\n";
	} else {
	$site_url = parse_url( site_url() );
	$path = ( !empty( $site_url['path'] ) ) ? $site_url['path'] : '';
	$output .= "Disallow: $path/wp-admin/\n";
	$output .= "Allow: $path/wp-admin/admin-ajax.php\n";
	}

	/**
	* Filter the robots.txt output.
	*
	* @since 3.0.0
	*
	* @param string $output Robots.txt output.
	* @param bool   $public Whether the site is considered "public".
	*/
	echo apply_filters( 'robots_txt', $output, $public );
}

In most cases, you wouldn’t need to make changes to robots.txt often, so it’s more reasonable to use a static robots.txt file. This way you’ll be able to easily access it via FTP anytime to make changes. What’s more, you don’t have to install additional plugins. You can use WebSite Auditor to quickly generate a robots.txt file.

WebSite Auditor how-to:

1. Open your WebSite Auditor project and click on the Pages tab in the left-hand sidebar.

2. On the next screen click on the Robots.txt button to open the robots.txt creation wizard.

The wizard allows to fetch your current robots.txt file, create a new one, and add, edit, remove, or test the rules.

3. At the next step, the software will prompt you to choose whether you’d like to save the file or upload it to your site right away.

HTTPS

In 2014, Google added HTTPS to the list of ranking factors. It’s not among the top important ranking signals, but going HTTPS may still give you a slight ranking boost.

Here’s how you can set up HTTPS on your WordPress site.

Note: if you need to set up the CMS to serve www or non-www, don’t forget to do it right now. Just prefix the domain name with www if necessary.

WebSite Auditor how-to:

WebSite Auditor can easily help you diagnose and fix issues with HTTPS and www/non-www. The tool will collect all the necessary information as soon as you create your WebSite Auditor project:

XML sitemap

WordPress doesn’t generate XML sitemaps out of the box. You may use one the plugins to add this functionality. Google XML Sitemaps is probably the most widely used and reliable solution. When choosing an XML generator plugin, make sure it lets you do the following things:

Once installed and activated, Google XML Sitemaps automatically generates the sitemap and notifies the search engines about it. The default plugin settings will meet the requirements of most users. The plugin generates the sitemap on the fly, when a client requests it, so there is no physical XML file on the server.

Note: If your website is updated rarely, it’s better to create a physical, permanent XML sitemap file, and upload it to the WordPress root directory. This will reduce the server load.

WebSite Auditor how-to:

You can use WebSite Auditor to create your sitemap.

2. On the next screen click on the Sitemap button to create a sitemap.

3. Now you can select which pages to include in the sitemap, set their change frequency, priority, and modification date. Unlike most plugins, WebSite Auditor lets you exclude pages blocked from indexing by robots.txt or Robots tags from your sitemap.


Site speed

Site speed is one of the most important “technical” ranking factors. You should make every effort to improve your site’s load time. There are a few easy solutions to help you improve your WordPress website’s speed.

WebSite Auditor how-to:

WebSite Auditor analyzes the page speed factors and comes up with suggestions on how to speed the website up. It analyzes pages against the same factors that make up a good page speed according to Google.


Broken Links

Checking for broken links is boring; fixing them is even more boring! If you hate this task as much as I do, give the Broken Link Checker plugin a try. It automatically checks your website for broken links (the plugin checks not only posts or pages but comments as well). It then can send email notifications and log the results of the check. All the broken links are listed in the spreadsheet. You can then fix them or edit if necessary on one handy screen.

WebSite Auditor how-to:

When you initially create a project in WebSite Auditor, the software automatically checks your whole website for broken links. You can see the list of broken links (if any) in the Site Audit module by simply clicking on Broken links. The list will be displayed in the right-hand side panel. You can see the page where the broken link is located, as well as the link’s anchor text and URL. This info is enough to quickly locate and fix the broken links.

Free Themes

Due to security considerations, I strongly discourage you from installing free themes that don’t come from the official WordPress directory. A “free” theme from untrusted sources may contain malicious or unwanted pieces of code.

Very often “free” themes have some outgoing links included in the footer or sidebar. These links typically have commercial anchors and they have nothing to do with the developer of the theme. The license agreement of such themes usually prohibits you from removing the links. It’s up to you to decide how to deal with them, but at least don’t forget to add ‘nofollow’ tag.

As a rule of thumb, scan the theme files for the obfuscated pieces of code (it may look like this: aGVsbG8gcGVvcGxlIHRoaXMgYW4gZW5jb2RlZCBzdHJpbmc= ); if you come across such strings, consider another theme.

Also, pay attention to the usage of third party JavaScript in the theme. Check out the theme’s functions.php file. It may contain some undesirable code too. Remember: you get what you pay for 😉


Site structure

When you mold the structure of your WordPress website, you may adopt either of the two approaches or their combination:

As you can see above, this structure is purely hierarchical: there is only one primary way, or path, to any given page.

Pagination and crawling

Blog Category and Tag pages normally list multiple posts and consist of a series of pages. By default, the navigation across the series of pages is implemented with two links: “Newer posts” and “Older posts”. However, this solution is not always optimal for a number of reasons:

WP-PageNavi fixes these issues. The plugin replaces the standard pagination with “Previous 1 – 2 – 3 – 4 – … Next” kind.

Comments

By design, comments enable visitors to contribute to your blog and communicate with you and each other. In reality, comments generate loads of spam.

Enable comments only if you feel you have enough resources to moderate them and follow up on them, otherwise the comments section will inevitably turn into a spam bin. The few steps below will make your life easier.


Duplicate content

External duplication:

Content of a WordPress site is normally available in RSS format. This makes your posts easy to scrape and re-publish for blogs and platforms that live off scraping content. Google’s pretty strict about content uniqueness and may not be able to tell between the original and the scraped version; so it’s in your best interest to make your website harder to scrape.

In the WordPress Admin Panel, go to Settings > Reading. Select For each article in a feed, show: Summary. You can also reduce the number of items shown in syndication feeds.

Internal duplication:

By default, WordPress generates a lot of duplicate content. It has Archive, Author, Category, and Tag pages, and there may be hundreds of tags and categories. The same page may belong to all of these groups, and be listed dozens of times across the website. Here’s how to deal with the problem.

WebSite Auditor how-to:

As a starting point for your duplicate content check, you may identify the pages with duplicate titles or meta descriptions. In WebSite Auditor’s Site Audit module, scroll down to the On-page section. The software will warn you about any title or meta description duplication across your site and help you fix it.

Content optimization

If you are serious about on-page optimization, you’ll need to consider up to 20 separate SEO factors to optimize on each landing page. Thus, optimizing larger websites without using professional tools gets a little daunting.

As you may guess, there are WordPress plugins to help you with on-page optimization. My tool of choice is the Yoast SEO plugin. It’s very versatile. Above all, I like its on-page optimization features.

For each page, you can set a focus keyword. The plugin performs brief content analysis based on this keyword and suggests the improvements to make (if necessary). It analyzes such basic factors as content length, keyword count in title, description and the <h> tags.

Each page gets a color coded optimization score, so you can easily keep track of your on-page optimization activities.

Yoast SEO is helpful with basic tasks. However, if you want to get deeper into details and not to miss a single tweak that can improve your rankings, do use WebSite Auditor.

WebSite Auditor how-to:

Along with your page, WebSite Auditor will scan the websites that rank in top 10 for the keywords you entered. The tool will then suggest how you can improve your pages based on the information collected from the best performing pages of your competitors.

3. Implement the changes, grab a coffee and watch your rankings improve over time.

Exit mobile version