Are You Setting Up WordPress For SEO Success?

8 April 2016 | | Marketing, Search Engine Optimisation

The majority of our new site designs are now built in WordPress. I am a big fan of the system – the way the sites are designed make it very easy for us as an agency to make any edits to our websites, and to optimise them for SEO.

We can also convert our WordPress sites to allow our clients to have access and edit content themselves, very useful if they are producing regular blogs for example.

Despite all the positives, WordPress is more complicated than traditional HTML or PHP when setting up the website properly for SEO. Here is a guide (credit Moz) which also describes the best practices for installing a WordPress website to ensure it is fully optimised for the search engines.

Part 1 – WordPress Terminology

  • Explanation of some of the most common terms

Regular Web “Page” vs. WordPress “Page”

Let’s get really basic here for a minute, hope you don’t mind. But I think a lot of people may confuse/interchange a WordPress page with a Web Page.

web page is a single HTML document that exists at a unique URL. Even if the extension is .php or .asp. The underlying source code is still HTML. This is a WEB page. It does not matter HOW it was created – it loads in your browser as an HTML document and that’s all you need to know. And for the rest of this post, when I say “web page” I’m talking about any HTML document existing at a URL.

But a WordPress page is WordPress’s version of a “static” page. In fact, anytime you’re talking about a page in the context of WordPress, put the word “static” before “page” = “static page” and it will always make more sense.

Pages vs. Posts

This is the second thing people either usually confuse, or have a hard time grasping. To your credit, I think it’s confusing that they’re put side by side in documentation, as if they’re somehow similar. They’re not at all!

post vs page

Note that pages and posts differ entirely in how they function.

  • A post is dated and “time-sensitive” and a page is not.
  • A post can belong to categories, tags, dates and authors and a page can not.
  • You can access a post from multiple pages – its category, tag, date or author.
  • A page is only accessible from where ever you link to it.

Some additional references about pages vs. posts:

  • wordpress.com documentation (although not the self hosted version, still applies)
  • wordpress codex about pages
  • wordpress codex “the dynamic nature of pages”

Categories vs. Tags

Ah. Another sticky point for folks. Some may argue, but I think Yoast would agree. Categories are for your main 5-7 “buckets” of topics that your posts fall into. Tags are there to fine-tune categories, and are usually much more specific than categories.

categories vs tags

  • Also, you should NOT have a category that is the same as a tag or vice versa. Categories should all be unique from tags.
  • And, categories can have hierarchy and tags have no hierarchy.

Author Archives

author archives

  • Simple. Me like.

Dated Archives

dated archives

  • Easy. Good.

Pagination (Subpages)

pagination

Yeah… why is this confusing? The only thing that doesn’t paginate… are PAGES!! ….WHAT CHU TALKIN’ BOUT??’


Part 2 – Relationships In WordPress

  • This part will show you how the different elements within WordPress relate and interact with one another.

Pages – They’re Static

Not much to ‘splain here (I hope by now!).

  • Pages are like regular, non-blog pages on a website.
  • They can have a hierarchy.
  • They will not go into the RSS feed.

Use Pages For The Following Types Of Content

  • An “About Us” section
  • If a dentist, say a page about “dental implants” describing your service.
  • If a restaurant, your Menu Page.
  • Directions page
  • Fees page etc.

Posts->Categories

Think of “Many To Many” relationships in databases.

post category relationship in wordpress

  • You can put a post in many categories. And of course a category can hold many posts.

Posts->Tags

post tag relationship in wordpress

  • You can put the same tag on many posts.

Date & Author Archives

date an author archives relationships

  • Dates are simple. If you view a date archive by month, all the posts from that month appear within that date archive.
  • For our single author blog setup, since every single posts is by the same author, that’s what you’d get when viewing that archive (which is why we 301 redirect it to the blog homepage).

Accessing Posts

access posts from

  • This is showing you, you can arrive at the same post from multiple places.

recent of popular posts access

  • And this is showing you, for the most recent posts, or popular posts, sometimes there is a link in the sidebar – and of course the blog home IS a feed of the most recent posts.

Don’t Forget Pagination (Subpages)!

subpages in wordpress

  • All of these web pages can have subpages off of them.

Bonus – For the Truly Geeky

I found this awesome template of the hierarchy within WordPress and loading a page. Not necessary to know for what we’re doing here, and not 100% relevant either, but I found it really useful, especially if you like to know more about what’s going on behind the scenes.


Part 3 – Best Practice Configuration

Any Decisions I Need To Make Up Front?

decide this stuff

This is sort of a “I wish I knew then” chart. Things that would be useful to know up front, such as;

  • Decide your categories at the beginning.
  • Decide what you want the homepage of your blog to be early on.
  • When you create a user account, choose the username wisely, because this is the URL and can not be changed afterwards (don’t get stuck with “admin”!)

What Should Be Accessible To Users & Search Engines?

accessibility

  • This chart is showing you what page types should be accessible to the user and to the search engines.
  • So unless otherwise noted, the page type can be indexed and followed.

What Links Go In What Menus?

where to link to from menus

This is the general rule of thumb I follow for deciding what links to put where. In general

  • I put pages and categories in main menus
  • I put categories, recent/popular posts, dated archives, and maybe tags in the sidebar/widget.

Where Do I Control URLs Titles & Descriptions?

url title and description control in wordpress

URL control can be confusing, because some are set in odd places, or called “slugs”.

  • Page and Posts URLs get set within the page/post editor
  • Category and tag URLs get set in their respective menus under “slug”
  • Author URLs are the “username”

If you’ve got everything set up correctly, it should be EASY to get your titles and descriptions in check.

  • Title and description templates get set in Yoast
  • Titles and descriptions at the individual page/post level are set in that page/post editor with Yoast.
  • Need help writing a title? Use this post I did about writing titles.

Actual Setup

Themes

This is where things get tricky, because a lot of themes tend to break perfectly good WordPress install. Or they try to handle SEO stuff when they shouldn’t. Or, you get a theme, and a plugin and WordPress all handling title tags and it becomes a mess.

DO use themes for design elements;

  • Colors
  • Fonts,
  • Page layout
  • Headers
  • Footers
  • Basic social media button stuff

Do NOT use themes for SEO stuff, such as

  • Indexation
  • Analytics codes
  • Titles and descriptions
  • RSS feeds
  • Menu structure (ideally this is done with WordPress Custom Menus)

Let the Yost SEO plugin handle this stuff! Shut off / do not use these types of SEO functions within the themes.

Plugins

There are two plugins I always install right away for pure SEO stuff;

  • Yoast SEO for WordPress
  • Yoast Google Analytics for WordPress

I often see other plugins that try to set SEO settings – so be sure you’re only managing SEO with one thing!

Configuring Yoast SEO

Titles & Descriptions

yoast title settings

  • Yoast SEO has the ability to assign a title and description template for every possible page, post and archive – so I advise using Yoast to manage all title and description templates.

As noted: Don’t forget to update your header.php file to include the correct title code;

title in header for yoast seo

A note about the ‘sitename’ variable – this is the site title under settings>general

sitename yoast

Indexation

indexation setting yoast seo

indexation setting yoast seo

  • This follows all of the best practice procedure from above. Tag, author, and date archives will all look too similar to other content. So it does not make sense to have them indexed.
  • Please note: Want to reiterate – this is what I typically use for a standard WordPress setup – one author, standard blogging format, or a business website with a blog inside etc. You may find yourself in a different circumstance if you have multiple authors, ecommerce etc.
  • Also – if your blog has already existed for some time, and you’ve been indexing tags all along for example, you shouldn’t just go deindexing them. Look in analytics, see how much traffic they might be bringing you, if that traffic is quality, and make a well thought out decision about if/how to move away from indexing tags.

archive and robots settings yoast seo

archive and robots settings yoast seo

  • Since running a single author blog, disabling the author archives 301 redirects them back to the blog homepage. This is good for the engines AND the user since they look exactly the same.
  • I like letting users browse posts in the dated archives
  • Not best practice to add noodp/noydir to every page – but the plugin allows you to do it for individual pages/posts in the editor.

XML Sitemaps

xml sitemap in yoast

  • Make sure you don’t have any other plugins or your theme handling the sitemap.
  • Check off what you don’t want included in the XML sitemap. (This is usually the same as what you are NOT indexing).

Permalinks

permalink settings in yoast

  • One thing I LOVE about Yoast’s plugin – you can strip /category/ off the folder structure for categories. AWESOME! You should definitely do this. If the site has already been indexed with /category/ redirects are automatically created.
  • You could redirect images to their parent post or page. I usually don’t but it won’t do any harm if you do.
  • Unless you’re running something with https (secure pages) you can just leave canonical settings as default.

Part 4 – Diagnostics

This is THE most common question we get in Q&A. Duplicate content issues. Basically I want to give you guys some extra tools and resources for checking duplicate content issues re: WordPress and the Moz crawl report.

A lot of folks get concerned when they see “47 duplicate page titles found” etc, and with understanding!

If you’ve set everything up as above correctly, there isn’t a whole lot of room for error. But sometimes things happen and stuff breaks or we miss something.

And most times, no matter the issue, ensuring you have things setup as described above in the post, will fix things.

Step 1 – Check Google Webmaster Tools

Check webmaster tools. If they are not reporting duplicate page titles or descriptions, you probably have little to worry about. Moz might have picked up on pages that were crawlable but not being indexed. But definitely check back in with webmaster tools in a week or so (its healthy to check webmaster tools once a week anyway!)

Step 2 – Crawl With Screaming Frog

I honestly love the Moz crawl report. Its turned up some important things to fix for me at times. Yet I think its just smart with ANY tool to cross check, especially if it involves a big error like duplicate content.

Use the free version of Screaming Frog to crawl up to 500 pages (and the paid version is unlimited).

  1. Crawl the site
  2. Click on titles
  3. Select Duplicates
  4. You’ll see a report like this:

duplicate titles subpages

In this case we can clearly see subpages are causing a lot of the duplicate title issues.

Step 3 – Use Google Queries To See What’s Indexed

Just because a crawler like Screaming Frog or the SEOmoz crawler crawls pages, does not mean they are indexed. Check Google’s index to find out with these queries.

  • site:mydomain.com/blog – check for blog indexation
  • site:mydomain.com/category – check for category indexation (unless you’ve stripped from folder structure)
  • site:mydomain.com/tag – check to see what tags are indexed
  • site:mydomain.com/author – check to see if author archives are indexed
  • site:mydomain.com/2012 – check to see what dated archives from 2012
  • site:mydomain.com/ inurl:page – check for subpages being indexed (see example below)

subpages indexed query

Steps To Take If You Confirm Errors

If you also find errors in webmaster tools, screaming frog, or Google’s index:

  1. Identify which page type it is (category, tag, dated archive, author archive, or subpages)
  2. Determine if the page should be indexed to begin with.
  3. If it should be indexed, make sure you have a setting in WordPress to generate unique titles/descriptions from the template.
  4. If it should NOT be indexed, block it using Yoast and be sure you don’t have to do any 301 redirects

I know that’s a little overly simplistic – it’d be tough to cover every possible variation of errors within this post – but that general framework is what I would advise to follow.

More posts from our team


Previous Post:
Next Post:

Back to all news

Reviews2024
Five Star
Reviewed Marketing
5 gold stars
google review logofacebook review with 5 stars
"Excellent service from James at Dental Design, thank you very much for your prompt attention whenever I get in touch! Would definitely recommend to a friend" Alison Tarmey View Full Testimonial
Google reviews logo "Would definitely recommend to a friend"
5 gold stars
"As a dental practice manager I cannot recommend Dental Design highly enough. They are just brilliant at what they do. Lucy and her colleagues are just an email or a phone call away...." Emma Smith View Full Testimonial
Google reviews logo "I cannot recommend Dental Design highly enough"
5 gold stars
"Really great company to deal with. They always respond quickly and are truly reliable. I would 100% recommend, the staff are so friendly and helpful." Michelle Molloy View Full Testimonial
Google reviews logo "Really great company to deal with"
5 gold stars
"I got increased traffic and new patients applying to my surgery, once Dental Design upgraded my website. They are very professional, efficient & adaptive to new situations..." Joanna Gallop View Full Testimonial
Google reviews logo "Very professional, efficient & adaptive to new situations"
5 gold stars
"Lucy has been a star, responding to and acting upon our requests in a prompt, efficient and professional manner, as well as the rest of the Dental Design team..." Abhay Shah View Full Testimonial
Google reviews logo "I cannot recommend them highly enough"
5 gold stars
"...Since the website has been up and running Lucy Mander has been our point of contact. She has been invaluable and gone out of her way to help us, especially during COVID-19 lockdown... " Lucy Jones View Full Testimonial
Google reviews logo "Has been invaluable and gone out of her way to help us"
5 gold stars
"Thank you for all your help and support, and the provision of valuable learning aids for our patients and staff alike in these difficult times. We love the look of our practice website. Very professional!" Sandra Luck View Full Testimonial
Google reviews logo "We love the look of our practice website. Very professional!"
5 gold stars
"Dental Design stood out both in their knowledge of the industry and their professionalism and can-do attitude. All of their staff are exceptionally competent and knowledgeable..." Harvey Rook View Full Testimonial
Google reviews logo "Dental Design stood out both in their knowledge of the industry and their professionalism"
5 gold stars
"Having done extensive research into all the dental website companies, the team and package offered at dental design was unrivalled..." Neil Shah View Full Testimonial
Google reviews logo "The team and package offered at dental design was unrivalled"
5 gold stars
"The team at dental design (especially Rosie) are absolutely fantastic and are always on hand to help. They are professional, friendly and extremely efficient. Rosie always gets back..." KiKi Wilmot View Full Testimonial
Google reviews logo "absolutely fantastic and are always on hand to help"
5 gold stars
"Dental Design are fantastic to work with, our website is amazing and the support they provide is second to none. Our account manager Rosie L is a fabulous point..." Luke Lucas View Full Testimonial
Google reviews logo "Dental Design are fantastic to work with"
5 gold stars
"Having worked with the Dental Design team for the last six months, I've found them not only helpful, but friendly and approachable too. I bombard Marcus with regular..." Sophie Harper View Full Testimonial
Google reviews logo "always met with a swift and professional response"
5 gold stars
desk with branded documents