WordPress & CMS

WordPress SEO: The Settings and Habits That Actually Matter

WordPress SEO: The Settings and Habits That Actually Matter — featured image by ONYONKA J.M

WordPress runs a large share of the world's websites, and for good reason. It is flexible, well supported and lets non-technical people publish content. It is also described as "SEO-friendly", which is true in the sense that a guitar is music-friendly: the potential is there, but someone has to tune it and play it properly.

Out of the box, WordPress has several settings that work against search visibility, and its ecosystem of themes and plugins makes it easy to build a slow, cluttered site. This guide covers the settings and habits that make a real difference, in the order I would address them on a new or existing site.

Start with the foundation: hosting, theme and security

Hosting

Cheap shared hosting is the most common cause of slow WordPress sites. Choose a host that offers current PHP versions, server-level caching, free SSL certificates, daily backups and responsive support. The monthly difference between poor and good hosting is small compared with the cost of lost visitors.

Theme

Pick a lightweight, well-coded theme that is regularly updated. Multipurpose themes bundled with dozens of features and demo layouts load large amounts of code you will never use. Before committing, run the theme's demo through PageSpeed Insights and look at its mobile performance.

HTTPS

Install an SSL certificate and make sure the site loads only over HTTPS. In Settings, under General, both the WordPress Address and Site Address should begin with https://.

Fix the core settings

Search engine visibility

Under Settings, then Reading, there is a checkbox labelled "Discourage search engines from indexing this site". Developers tick it during construction and sometimes forget to untick it at launch. If your site is not appearing in Google at all, check this first.

Permalinks

Under Settings, then Permalinks, choose "Post name". This produces clean URLs such as /services/web-design/ rather than /?p=123. Do this before launch. Changing URL structure on an established site requires redirects from every old address.

Site title, tagline and time zone

Set an accurate title, replace the default tagline "Just another WordPress site", and select the correct time zone so that publication dates are right.

www or non-www

Decide on one version of your domain and make sure the other redirects to it. WordPress handles this automatically once the address is set, but verify by typing each version into a browser.

Install one SEO plugin and configure it

WordPress does not natively let you edit title tags and meta descriptions or generate an XML sitemap suited to SEO. An SEO plugin fills the gap. Yoast SEO, Rank Math, SEOPress and All in One SEO are all capable; choose one and never run two together.

Configure these essentials:

  • Title templates: set a sensible default pattern, then write custom titles for important pages.
  • XML sitemap: enable it and submit the address in Google Search Console.
  • Content types to index: include pages, posts and products. Exclude types with no value to searchers.
  • Schema settings: enter your organisation name, logo and social profiles so the plugin can output basic structured data.
  • Breadcrumbs: enable them if your theme supports it.

A word on the coloured scores these plugins display. A green light means a checklist has been satisfied, not that the page will rank. Do not distort your writing to chase a score. Use the tool for its functions and your judgement for the content.

Control what gets indexed

WordPress automatically creates many archive pages: by category, tag, author, date and media attachment. Left unmanaged, a fifty-page site can present Google with several hundred low-value URLs.

  • Categories: useful when they group substantial content. Keep them few, give each a description, and let them be indexed.
  • Tags: often create thin pages listing one or two posts. Use them sparingly, or set tag archives to noindex.
  • Author archives: on a single-author site they duplicate the blog page. Disable or noindex them.
  • Date archives: rarely useful. Disable them.
  • Attachment pages: each uploaded image can get its own URL. Redirect these to the file or parent page; most SEO plugins offer this option.
  • Internal search results: should not be indexed.

Structure the site sensibly

Use pages for permanent content such as services, about and contact, and posts for articles. Organise pages hierarchically where it reflects the business, for example a Services page with a child page for each service. Give every service its own page rather than listing all of them on one; a page focused on a single topic ranks far better for that topic.

Build navigation menus around what visitors look for, and link between related pages within the body text using descriptive anchor text. Internal links help search engines discover pages and understand which matter most.

Optimise each page as you publish

For every page and post:

  1. Write a specific title tag of about 50 to 60 characters that states the topic and gives a reason to click.
  2. Write a meta description of about 150 characters that summarises the page.
  3. Edit the URL slug to a few clear words.
  4. Use headings properly. The page title is the H1. Use H2 for main sections and H3 beneath them. Do not choose heading levels for their appearance.
  5. Cover the subject fully and write for the reader. See keyword research for Kenyan businesses for choosing what each page should target.
  6. Add internal links to and from related content.
  7. Set a featured image for sharing on social platforms.

Handle images properly

Images are the main cause of heavy WordPress pages.

  • Resize images before uploading. A photograph displayed at 1200 pixels wide does not need to be 5000 pixels wide.
  • Use an optimisation plugin that compresses uploads and serves WebP versions.
  • Give files descriptive names, such as office-cleaning-nairobi.jpg, before uploading.
  • Write alt text that describes the image for people using screen readers. Include a keyword only where it is an accurate description.
  • Let WordPress lazy-load images below the fold, but not the main image at the top of the page.

Make it fast

Speed affects both rankings and conversions. The priorities for WordPress are:

  • Caching: install a caching plugin, or use your host's built-in caching, so pages are served as static files.
  • Fewer plugins: every plugin adds code. Audit them and delete any you do not need. Deactivated plugins should be removed too.
  • Careful page-builder use: builders such as Elementor are convenient but generate heavy markup. Keep layouts simple, limit widgets and animations, and disable features you do not use.
  • Minification and deferral: combine and defer CSS and JavaScript through your caching plugin, testing carefully after each change.
  • Database maintenance: clear old revisions, spam comments and expired transients periodically.
  • A content delivery network: helpful when visitors are spread across regions.

Measure the effect in Search Console's Core Web Vitals report. The Core Web Vitals guide explains the metrics and fixes in detail.

Add structured data

Your SEO plugin outputs basic schema for the organisation, pages and articles. Depending on the business, add more specific types: LocalBusiness for a company with premises, Product for an online shop, Event, Course or FAQ where relevant. Validate with Google's Rich Results Test. More guidance is in the schema markup guide.

Keep it secure and maintained

A hacked site can be removed from search results or filled with spam that destroys its reputation. WordPress security is mostly routine discipline.

  • Update WordPress core, themes and plugins promptly.
  • Use strong, unique passwords and two-factor authentication for administrators.
  • Remove unused themes, plugins and user accounts.
  • Install a reputable security plugin with a firewall and login protection.
  • Take automated backups stored away from the server, and test restoring them.
  • Download themes and plugins only from official sources. "Nulled" premium themes frequently contain malware.

Prevent comment spam

If you allow comments, enable moderation and use an anti-spam plugin. Unmoderated comments fill with spam links that can harm the site. If you do not need comments, turn them off under Settings, then Discussion.

Connect measurement tools

Verify the site in Google Search Console and install Google Analytics 4, either through a lightweight plugin or Google's Site Kit. Set up tracking for form submissions, phone clicks and WhatsApp clicks so you can see which pages produce enquiries. The guide to GA4 and Search Console explains what to look at.

Manage redirects when content changes

Pages get renamed, merged and deleted over the life of a site. Each time the address of a published page changes, the old address should redirect permanently to the new one, otherwise visitors and search engines arrive at an error page and any links pointing to the old address lose their value. WordPress creates a redirect automatically when you edit the slug of a published post, but not in every situation, and never when you delete a page. Use the redirect manager in your SEO plugin, or a dedicated redirection plugin, to add 301 redirects and to monitor 404 errors so you can catch the ones you missed.

Ten common WordPress SEO mistakes

  1. Leaving "Discourage search engines" ticked after launch.
  2. Using default permalinks.
  3. Running two SEO plugins, or several caching plugins, at once.
  4. Uploading full-size photographs.
  5. Installing a plugin for every small feature.
  6. Hundreds of thin tag pages.
  7. Deleting or renaming pages without redirects.
  8. Leaving demo content from the theme live and indexed.
  9. Ignoring updates for months.
  10. Putting all services on a single page.

A monthly routine

  • Apply updates and confirm the site still works.
  • Check Search Console for indexing, Core Web Vitals and security issues.
  • Review which pages gained or lost clicks.
  • Publish or improve at least one piece of content.
  • Fix any broken links.
  • Confirm backups are running.

WordPress rewards owners who keep it lean and looked after. If your team would like to manage the site confidently, I run hands-on WordPress and SEO training. And if the site needs rebuilding on a faster foundation, that is part of my web design service.

Onyonka J.M
Written by Onyonka J.M

SEO specialist, Python developer and SEO & CMS trainer based in Kenya, working with companies worldwide. About the author

Keep reading

Related guides

All articles

Onyonka J.M, SEO expert in Kenya Let’s work together

Ready to be found by the customers searching for you?

Tell me about your business and goals. I reply personally, usually within one working day.