WordPress Technical SEO: The Basics That Matter

WordPress technical SEO is making sure search engines can reach, read and index the right pages of your site, and only those. For most business sites that means a handful of settings: indexing switched on, clean permalinks, one https version of the domain, an SEO plugin handling titles and sitemaps, no duplicate or thin pages, and light, fast pages.

Is your WordPress site allowed to be indexed?

Check this first, because one checkbox can hide a whole site. In the WordPress dashboard go to Settings → Reading and look at Search engine visibility. If "Discourage search engines from indexing this site" is ticked, WordPress asks search engines not to index your pages.

This box is often ticked while a site is being built and forgotten at launch. Untick it on the live site. Keep any staging copy behind a password so it is not indexed as a duplicate of your real site.

Permalinks, https and one version of your domain

Permalinks

Permalinks are the addresses of your pages. In Settings → Permalinks, choose "Post name" so addresses look like /teeth-whitening-riyadh/ instead of /?p=123. Keep slugs short and descriptive. On an Arabic site you can use Arabic or Latin slugs; Arabic slugs work but look long and encoded when copied, so many sites keep them short or use Latin words.

Set permalinks once and avoid changing them later. If you must change an address, add a 301 redirect from the old one so visitors and links are not lost.

https and www vs non-www

Your site should open on one address only. Pick either https://www.example.com or https://example.com, then make every other version redirect to it with a 301 redirect: the http version, and the www or non-www version you did not pick.

Then in Settings → General, make sure both "WordPress Address" and "Site Address" use the exact version you chose. After switching to https, look for "mixed content": images or scripts still loaded over http, which make browsers warn visitors.

What does an SEO plugin do on WordPress?

An SEO plugin gives you control over the things WordPress does not handle well by default. Install one, and only one, because two SEO plugins will output conflicting tags. A typical SEO plugin lets you:

  • Write a title and meta description for each page
  • Generate and manage an XML sitemap
  • Set canonical tags
  • Mark pages or whole sections as noindex
  • Add basic structured data

For titles, keep the main phrase near the start; titles of roughly 50–60 characters are usually shown in full. For descriptions, summarise what the page offers in one or two sentences.

XML sitemap and robots.txt

The XML sitemap is a list of the pages you want indexed. WordPress has a basic built-in sitemap, and most SEO plugins replace it with their own. Open it in your browser and read it: it should contain your real pages, posts, products and categories, and nothing else. Submit its address in Google Search Console.

The robots.txt file tells crawlers which paths not to crawl. Keep it simple: do not block the folders that hold your CSS, JavaScript and images, because Google needs them to see your pages properly. Do not use robots.txt to remove a page from Google; a blocked page can still be indexed from links. Use noindex for that instead. It is good practice to list your sitemap address in robots.txt.

Canonical tags, duplicates and thin pages

A canonical tag tells search engines which address is the main version of a page when several addresses show the same content, for example a product reachable from two categories, or a page with tracking parameters added. Your SEO plugin normally sets a self-referencing canonical on each page. Check that it points to the https version you chose, not to a staging domain or an old address. Google explains this in its guide to canonical URLs.

Duplicate pages left by page builders and templates

WordPress sites collect pages nobody meant to publish. Look for:

  • Saved templates, headers, footers and popups from a page builder that have public addresses
  • Old landing pages, test pages and the default "Sample Page" or "Hello world" post
  • Copies of pages made while redesigning ("Home – new", "Home – copy")
  • Media attachment pages that show a single image on its own address

Open your sitemap and search Google for site:yourdomain.com to find them. Delete or redirect what you do not need, and make sure template post types are excluded from the sitemap and set to noindex.

Should tag and archive pages be indexed?

Usually not. Tag pages, date archives and author archives on a site with one author tend to be thin lists of the same posts, repeated across many addresses. Set them to noindex in your SEO plugin. Keep main categories indexed if they are useful pages in their own right, and give them a short introduction so they are more than a list.

Images, speed and structured data

Images

Large images are a common reason WordPress pages load slowly. Before uploading, resize images to the size they are displayed at and compress them; modern formats such as WebP are usually lighter. Give each image a descriptive file name and alt text that says what the image shows, for example "grey three-seater fabric sofa in a living room", not a list of keywords.

Caching

A caching plugin or your host's server cache saves ready-made copies of pages so they load faster. After switching it on, test the pages that must not be cached for everyone: cart, checkout, account pages and forms.

Our guide to page speed and Core Web Vitals explains how speed is measured and how to improve it.

Structured data basics

Structured data is code that describes your page in a format search engines read: that it is a local business with an address and opening hours, an article with an author and date, a product with a price, or a breadcrumb trail. Most SEO plugins add basic structured data; check the business details they output are correct.

Structured data helps Google understand a page, but it does not mean your page will get any special display in results. Use only types that match what is really on the page, and test pages with Google's Rich Results Test. Google lists the types it supports in its structured data search gallery.

Hreflang for Arabic and English sites

If your site has Arabic and English versions of the same pages, hreflang tags tell search engines which version is for which language, so Arabic searchers are shown the Arabic page. Each page should list itself and its other-language version, for example ar and en, and you can add x-default for the version to show when no language matches. The tags must be reciprocal: if the English page points to the Arabic one, the Arabic page must point back.

A multilingual plugin usually adds these tags. Check them in the page source, and check that Arabic pages declare lang="ar" and dir="rtl". Google's guide to localized versions of your pages covers the details.

A WordPress technical SEO checklist you can run today

  1. Confirm "Discourage search engines from indexing this site" is unticked on the live site.
  2. Set permalinks to "Post name".
  3. Open your site on http, https, www and non-www and confirm they all end on one address.
  4. Check that "WordPress Address" and "Site Address" match that address.
  5. Confirm you have exactly one SEO plugin active.
  6. Open your XML sitemap and remove anything that is not a real page.
  7. Read your robots.txt and make sure it does not block CSS, JavaScript or images.
  8. Search site:yourdomain.com and delete or redirect leftover template, test and copy pages.
  9. Set tag, date and single-author archives to noindex.
  10. Compress your largest images and add descriptive alt text.
  11. If you have Arabic and English versions, check the hreflang tags in both directions.

For a broader review that goes beyond WordPress settings, use our website SEO audit checklist.

Frequently asked questions

Is WordPress good for SEO?

Yes, WordPress can be set up well for search engines. Many problems come from settings left unchanged, too many plugins, heavy themes and leftover pages, not from WordPress itself.

Do I need more than one SEO plugin?

No. Use one SEO plugin. Two plugins doing the same job produce duplicate or conflicting titles, canonical tags and sitemaps.

Will fixing technical SEO bring me more customers?

Technical SEO removes obstacles so search engines can find and understand your pages. Whether those pages then rank depends on their content and the competition, and SEO takes time. Fixing the technical basics is the foundation, not the whole job.

How do I know if Google has indexed my pages?

Use Google Search Console. Its page indexing report shows which pages are indexed and why others are not, and the URL inspection tool checks a single page.

Next steps

Technical settings are one part of our practical SEO guide for businesses in Saudi Arabia and Egypt. Work through the website SEO audit checklist next, then improve load times with the page speed and Core Web Vitals guide. If you want an outside view of your site, Rankshoot gives you a free SEO audit of your site, a look at your competitors and a content plan; you create a free account and no card is needed.

See it on one of your client sites.

Create a free account: full setup, a competitor audit and your first article with its image. No card.

Start free