IntermediateLesson 11 of 305 min read

SEO inside WordPress: titles, sitemaps and search visibility

Learn what WordPress does for SEO by itself, the search visibility setting, titles, slugs, keywords and internal links, with a real test of noindex and sitemaps.

In this lesson you will

  • Check the search visibility setting
  • Write titles, descriptions and slugs
  • Use keywords honestly
  • Connect Search Console

About 16 minutes

Being found without tricks

Nadia’s bakery site looks lovely, but when she searches for ‘birthday cakes in her town’ she cannot find it anywhere. Search engines such as Google read your pages, decide what they are about and choose which to show. SEO (search engine optimisation) simply means making it easy for them, and for visitors, to understand your pages. WordPress already does a good deal of this for you. This lesson shows what is built in, what you must do yourself and how to avoid wasting time on tricks that do not work.

The foundation: one setting

Under Settings, Reading there is a box called ‘Discourage search engines from indexing this site’. It is meant for sites under construction. If it is left ticked after launch, search engines are told to stay away, and your site will not appear. The test site below was run with the setting both ways to show what it really changes. The output is real:

slug: how-to-bake-a-cake
sanitize_title: how-to-bake-a-cake-5-easy-steps
search visibility option = 0 -> robots meta: noindex, nofollow; wp-sitemap.xml HTTP 404
search visibility option = 1 -> robots meta: max-image-preview:large; wp-sitemap.xml HTTP 200
title tag: Zz How to bake a cake | Skills in Minutes
canonical: http://127.0.0.1:8080/how-to-bake-a-cake/
sub-sitemaps listed: 9
restored option: yes

With the box ticked (option 0), every page carried the robots instruction noindex, nofollow, and the sitemap address answered 404, which means ‘not found’. With it unticked (option 1), the instruction was gone and WordPress produced a sitemap listing several sub-sitemaps. The script then put the setting back. Check this setting first whenever a new site does not appear in search.

What WordPress already gives you

  • A sitemap at /wp-sitemap.xml, a list of your pages for search engines, as the output showed.
  • Clean addresses when you use the ‘post name’ permalink from lesson 2.
  • A title tag built from the page title and the site name, as in the output above.
  • A canonical link, which tells search engines the main address of a page. The output shows one.

Many sites add an SEO plugin on top. It gives you screens for a custom title and description per page, social sharing images, redirects and checks. You do not need two such plugins; they will conflict.

The things that really matter

Area What to do
Search intent Answer what the searcher wants, clearly and honestly
Title Put the main topic near the start, about 50 to 60 characters
Description A short human summary, about 150 characters, that earns the click
Headings One H1, then H2 and H3 in order, using real words
Links Link related pages to each other with clear link text
Speed and mobile Fast pages that read well on phones

Writing a good title and slug

The slug is the end of the address. WordPress makes it from the title by removing capitals, punctuation and spaces. A test with the title ‘How to Bake a Cake: 5 Easy Steps!’ gave the slug how-to-bake-a-cake-5-easy-steps. You can shorten it in the editor to how-to-bake-a-cake. Short slugs with the main words are easy to read and share. Do not change a slug after a page is public unless you also set up a redirect, because the old address would show an error.

Keywords, honestly

A keyword is a phrase people search for. Think about the words a customer would use, not your own jargon: ‘wedding cakes Leeds’ is better than ‘bespoke confectionery solutions’. Use the phrase naturally in the title, a heading and the first paragraph, and write for people. Repeating a phrase again and again, called keyword stuffing, makes pages worse to read and can hurt rankings.

Images, links and structure

  • Give images clear file names and alt text (lesson 5).
  • Link from new posts to older related posts, and back.
  • Use descriptive link text, such as ‘our wedding cake prices’, never ‘click here’.
  • Group posts under a few clear categories and avoid dozens of near-empty tags.
  • Remove or merge thin pages that say very little.

Local business basics

If you serve a town, put your name, address and phone number on the contact page in the same form everywhere, and create a free Google Business Profile. Ask happy customers to leave honest reviews. These steps often matter more than anything inside WordPress.

How long it takes, and how to check

New sites usually need weeks or months before they gain visibility. Connect your site to Google Search Console, a free tool that shows which searches bring visitors and reports problems such as pages not indexed. Do not expect an overnight change, and be wary of anyone who guarantees page one.

Practice

Take three pages on your practice site. For each, write a title of about 55 characters, a description of about 150 characters and a short slug. Then open the site in a private window and check the settings under Reading. Finally add two internal links between the pages using descriptive link text.

Practice answer

A good title starts with the topic, for example ‘Birthday cakes in Leeds | Mina Cakes’. A good description reads like a helpful sentence, not a list of keywords. If a page does not appear after several weeks, check the Reading setting and Search Console first.

Common mistake

Leaving ‘Discourage search engines’ ticked after launch. The test above showed it adds noindex to every page and removes the sitemap. Untick it when you go live.

Check what you learned

Five quick questions. Pick an answer and you will see straight away whether it is right and why.

What did ‘Discourage search engines’ do in the real test?

  1. Made pages load faster
  2. Added noindex to pages and removed the sitemap
  3. Deleted the posts
  4. Changed the theme

Option 0 gave noindex, nofollow and a 404 sitemap.

What is a sitemap for?

  1. Storing passwords
  2. Compressing images
  3. Changing fonts
  4. Listing pages for search engines

WordPress makes one at /wp-sitemap.xml.

Which description of keyword use is best?

  1. Use natural phrases customers search for
  2. Repeat the phrase fifty times
  3. Hide words in white text
  4. Avoid all keywords

Write for people first.

What happens if you change a public slug with no redirect?

  1. Nothing at all
  2. The site is faster
  3. The old address shows an error
  4. The sitemap is deleted

Redirect old addresses.

Which tool shows which searches bring visitors?

  1. The Media library
  2. Widgets
  3. Comments
  4. Google Search Console

It is free and reports indexing problems.

Summary

  • Untick ‘Discourage search engines’ at launch.
  • WordPress makes a sitemap and canonical links itself.
  • Write for people: clear titles, descriptions, headings, links.
  • SEO takes weeks; check Search Console.

Next lesson

Next: contact forms, and handling messages safely.

Questions

Do I need an SEO plugin?

Not strictly, but one makes titles, descriptions, redirects and social previews easier to manage. Install only one.

How long until my page appears in Google?

It can take days to months. Submitting the sitemap in Search Console helps, but nobody can promise a position.

Is the sitemap address always the same?

Core WordPress uses /wp-sitemap.xml. An SEO plugin may replace it with its own address, so check the plugin's settings.

Progress is saved in this browser.