Category: WordPress SEO

  • What Is llms.txt and How to Generate One for WordPress

    What Is llms.txt and How to Generate One for WordPress

    The first time we opened this site’s own /llms.txt, the whole thing fit on one screen: a title, a one-line summary, and two short lists of links. Nobody had uploaded a file anywhere. SoraDigital SEO Optimizer built it on the spot from the site’s published posts and pages, then cached the result for an hour. That small Markdown file — and the checkbox that produces it — is what this article is about: what llms.txt is, what belongs in it, and how to generate one for a WordPress site.

    A Markdown index for machines that read

    llms.txt is a proposed convention, published at llmstxt.org in September 2024, for giving large language models and AI crawlers a clean map of a website. The problem it addresses is mundane but real: a typical web page is mostly navigation, scripts, banners, and boilerplate, and an AI system that wants to understand what a site offers has to chew through all of that to find the actual content. A sitemap.xml solves discovery for search engines, but it is a bare list of URLs with no context about what each page is.

    llms.txt sits between those two. It is a single Markdown file at a predictable address — /llms.txt in the site root — that names the site, summarizes it in one line, and lists its important pages grouped into sections, each link optionally followed by a short note on what the page contains. An AI tool that fetches it gets the site’s own curated view of itself: these are our key pages, and here is what each one is about.

    Anatomy of the file

    The format is deliberately plain. Here is the top of this site’s file, trimmed:

    # SoraDigital Plugins
    
    > WordPress SEO plugins by SoraDigital - free, no paywall.
    
    ## Posts
    
    - [Switching to SoraDigital SEO Optimizer: a 10-minute migration guide](https://www.sora.ai.in/plugins/blog/switching-to-soradigital-seo-optimizer-migration-guide/): Switching SEO plugins has a reputation for being risky: lost meta titles, broken redirects, schema that quietly disappears…
    - [How to Create a Google Cloud Project and Service Account JSON Key for the Indexing API](https://www.sora.ai.in/plugins/blog/google-cloud-project-service-account-json-key-indexing-api/): Step-by-step: create a Google Cloud project, enable the Indexing API, generate a service account JSON key…
    
    ## Pages
    
    - [Documentation](https://www.sora.ai.in/plugins/docs/): Guides and references for the SoraDigital plugins…

    Four elements do all the work. The # heading is the site name. The blockquote underneath is a one-line summary — on a WordPress site, the tagline. Each ## heading opens a section (here: Posts and Pages), and under it sits a Markdown list of links. The text after each link’s colon is a short excerpt, there so a reader — human or model — can tell what the page holds without fetching it. That is the entire format; there is nothing else to learn.

    Generating one with SoraDigital SEO Optimizer

    The generator lives in the plugin settings under the llms.txt & RSS tab. Turning it on is a single checkbox, Serve /llms.txt, and the rest of the panel decides what the file contains:

    • Post Types — one section per selected type, newest first. This site lists Posts and Pages; a shop might add Products.
    • Taxonomies — one section per selected taxonomy, listing its non-empty terms (categories, tags, or custom taxonomies).
    • Max Items per Section — how many entries each section may hold, from 1 to 1,000. The default is 100.
    • Excerpts — whether each link carries the short note after the colon. The note comes from the post’s excerpt field, or from its opening words when no excerpt is set.

    The llms.txt settings in SoraDigital SEO Optimizer: enable toggle, post types, taxonomies, max items and excerpts

    The llms.txt panel in SoraDigital SEO Optimizer settings. Once the toggle is on, a “View llms.txt” link appears next to it.

    Save the settings and the file exists. There is no physical llms.txt written to your server — the plugin answers requests to /llms.txt dynamically and caches the generated document for one hour, so the file stays current without a rebuild step.

    What the generator includes — and what it leaves out

    What ends up in the file follows rules you would probably choose yourself. Only published content is listed. Password-protected posts are skipped, and so is anything you have set to noindex in the plugin — if a page should not be found by search engines, it is not advertised to AI crawlers either. Taxonomy sections list only terms that actually have content. Within each section, entries run newest first, capped at your Max Items setting.

    The generated llms.txt file for this site, showing Posts and Pages sections with links and excerpts

    This site’s generated llms.txt, exactly as served: site name, one-line summary, then Posts and Pages sections with an excerpt after each link.

    The cache deserves one sentence because it explains the only surprise people report: after you publish or edit a post, the file may show the old version for a short while. The cache is flushed whenever a post or term is saved or deleted, and otherwise expires within the hour — so a brand-new article appears in llms.txt quickly, just not necessarily in the same second you press Publish.

    Checking the result

    Verification takes ten seconds: open https://yoursite.com/llms.txt in a browser. You should see plain Markdown text — your site name, your tagline, and your sections. Read it the way a stranger would: are the right post types there, do the excerpts describe the pages honestly, is anything listed that you would rather keep quiet? If the address returns a 404, the usual causes are that the toggle was not saved, or that the site’s permalink structure needs a refresh under Settings → Permalinks (the plugin registers a rewrite rule for the address). One detail you may notice in a header checker: the file is served with an X-Robots-Tag: noindex header. That is intentional — llms.txt is a map for crawlers, not a page that should itself rank.

    What llms.txt will not do for you

    Honesty matters more here than enthusiasm, because llms.txt is easy to oversell. It is a proposal, not an adopted standard: no search engine has announced it as a ranking factor, and there is no evidence that having one moves Google rankings in either direction. Some AI tools and crawlers do fetch llms.txt files today; many do not yet. Nothing about the file replaces the fundamentals — your XML sitemap remains the discovery mechanism search engines actually use, and robots.txt remains the place that governs crawling.

    So why generate one at all? Because the cost is one checkbox and the direction of travel is clear: more of the web’s reading is done by AI systems, and a curated, honest index of your content is the cheapest possible way to be legible to them. Treat it as hygiene, not strategy — and resist the temptation to stuff excerpts with keywords. The file’s only asset is that it accurately describes your site; the moment it reads like an advertisement, it stops being useful to the very systems it is written for.

    Questions we keep hearing

    Frequently Asked Questions

    Does llms.txt replace my XML sitemap?

    No. They serve different readers. sitemap.xml is how search engines discover your URLs, and it stays essential. llms.txt is a curated, human-readable index meant for AI systems that want context about what each page is. Keep both; they cost nothing to run side by side.

    Will an llms.txt file improve my Google rankings?

    There is no evidence for that. Google has not adopted llms.txt as a ranking signal, and the file is served with a noindex header so it does not compete as a page. Generate one for AI legibility, not for rankings.

    How often is the file updated?

    It is generated dynamically and cached for one hour. Saving or deleting a post or term flushes the cache, so changes show up quickly without any manual rebuild.

    Can I keep a specific post out of llms.txt?

    Yes. Set the post to noindex in SoraDigital SEO Optimizer, or password-protect it — the generator skips both. To exclude a whole content type, uncheck it under Post Types in the llms.txt & RSS tab.

    If you run SoraDigital SEO Optimizer, your site’s llms.txt is already one checkbox away in the llms.txt & RSS tab — the same free plugin, with every feature included and no pro tier. And if you are curious what a real one looks like before switching yours on, this site’s file is right there: three posts, thirteen pages, and nothing to hide.

  • Switching to SoraDigital SEO Optimizer: a 10-minute migration guide

    Switching to SoraDigital SEO Optimizer: a 10-minute migration guide

    The risky part of switching SEO plugins was never the install — it is what happens to years of hand-written titles, redirects, and schema in the move. SoraDigital SEO Optimizer handles that move as a wizard with a preview: you see exactly what will transfer, and nothing is written until you approve it. The five steps below are the whole switch, in order.

    Two things to do before the wizard

    Take a backup of your site (your host’s snapshot or your usual backup plugin is fine). Keep your current SEO plugin active for now — the migration reads from it, and you will deactivate it at the end, not the beginning.

    1. Install it alongside your current plugin

    Install SoraDigital SEO Optimizer from WordPress.org and activate it. The four-step setup wizard opens automatically: Site, Features, Import, Finish. The Site step is pre-filled from your previous plugin’s settings — organization name, logo and social profiles included — so in most cases you are confirming values, not retyping them.

    2. Read the preview counts before anything moves

    This is the step that matters. Before anything is applied, the wizard shows exact counts of what will move: global settings, per-post SEO titles and descriptions, schema records and redirects. Existing values in SoraDigital SEO Optimizer are never overwritten, so running the import twice is safe.

    We test this the way you would run it. On a fresh copy of a real 1,494-post site, the migration moved 1,531 posts’ SEO meta, 86 redirects and 160 schema records — exactly matching the preview counts, with no stalls.

    3. Apply, then spend two minutes checking

    One click applies the migration. Then spend two minutes verifying: open a few posts and check their SEO titles and descriptions, load your sitemap at /sitemap.xml, and view a page’s source to confirm a single set of meta tags and schema. If your site uses tables of contents, check one article — existing TOCs, stored blocks and hand-made lists alike, are recognized automatically, so nothing doubles up and every anchor link keeps resolving.

    4. Switch the old plugin off — only now

    Once the checks pass, deactivate your previous SEO plugin. Do not run two SEO plugins at the same time — duplicate meta output is the one real way to make a migration go wrong, and it is entirely avoidable by deactivating the old one now. Your data stays in the database either way; deactivation does not delete it.

    5. Point Search Console at the new sitemap

    Your sitemap URL may have changed (for example from a sitemap index to /sitemap.xml). Submit the new sitemap in Google Search Console and remove the old registration if it now returns a 404, so your coverage reports stay clean.

    Coming from Internal Link Juicer instead?

    SoraDigital Internal Linker has its own one-pass importer for Internal Link Juicer keyword rules — duplicates are skipped and counted, and if the old plugin is still active you will be offered a one-click deactivation so two auto-linkers never run at once. In our staging test, 1,211 keyword rules came over with 0 duplicates, and dynamic links kept rendering throughout the switch.

    That is the entire switch: back up, preview, apply, verify, deactivate, resubmit. Nothing in the sequence asks you to trust the plugin blindly — the preview shows its work before a single record moves.

  • How to Create a Google Cloud Project and Service Account JSON Key for the Indexing API

    How to Create a Google Cloud Project and Service Account JSON Key for the Indexing API

    Why does a page you published this morning still not show up in Google days later? The Google Indexing API exists to close that gap: instead of waiting to be discovered, you notify Google directly that a URL is new or updated, so it can be crawled sooner. The setup is where most people stall — a Google Cloud project, a service account, a JSON key file, and one permission change in Search Console. This guide walks through all six steps in order, with the exact screens you will see.

    The short version: project, key, Owner

    • You need three things from Google Cloud: a project, the Indexing API enabled on it, and a service account JSON key.
    • The service account must be added as an Owner of your Search Console property — this is the step behind most 403 errors.
    • Each project has a default quota of 200 publish/update requests per day; busy sites can register several projects and rotate between them.
    • Once connected, a plugin can submit URLs automatically on publish and update, and keep a log of every submission.

    Before Step 1: two accounts and ten minutes

    • A Google account that can create projects in Google Cloud (a free account is fine; the Indexing API itself does not require billing to be enabled).
    • Your site verified in Google Search Console, with Owner-level access for the account you will use to add the service account.
    • About ten minutes. None of the steps require code.

    Step 1: Create a Google Cloud project

    1. Go to the Google Cloud Console.
    2. Click the project selector at the top of the page, then New Project.
    3. Give the project a recognizable name — for example, indexing-api — and click Create.
    4. Wait for the creation notification, then make sure the new project is selected in the project selector before continuing.

    One project can serve multiple sites, as long as its service account is an Owner on each site’s Search Console property. If you plan to submit a lot of URLs, note the project name — you may create siblings of it later for extra quota.

    Google Cloud project dashboard
    The Google Cloud project dashboard. Everything in this guide happens inside one project like this one — note the Project ID, you will see it again in the key file.

    Step 2: Enable the Indexing API

    1. With your new project selected, open APIs & Services → Library.
    2. Search for Indexing API and open it.
    3. Click Enable.

    Skipping this step produces a specific error later: “Indexing API has not been used in project … before or it is disabled.” Enabling it now takes ten seconds and saves a debugging round-trip.

    Web Search Indexing API enabled in Google Cloud
    The Web Search Indexing API page with Status: Enabled. If this page shows an Enable button instead, click it before continuing.

    Step 3: Create a service account

    1. Go to IAM & Admin → Service Accounts.
    2. Click Create Service Account.
    3. Enter a name (for example, indexer) and click Create and Continue. You can skip the optional role-granting steps — click Continue, then Done.
    4. Copy the service account’s email address (it looks like [email protected]). You will need it in Step 5.

    A service account is a robot identity that your WordPress site uses to talk to Google. No IAM roles are required for the Indexing API; the permission that matters is granted inside Search Console, not in Cloud IAM.

    Service accounts list in IAM and Admin
    IAM & Admin → Service Accounts. The service account email (partially masked here) is what you will add as Owner in Search Console in Step 5.

    Step 4: Create the JSON key

    1. In the service accounts list, click the service account you just created, then open the Keys tab.
    2. Click Add Key → Create new key.
    3. Choose JSON and click Create. The key file downloads automatically.

    Treat this file like a password: anyone holding it can submit URLs as your service account. Store it somewhere private, and never commit it to a public repository. You will upload or paste it into your indexing plugin in Step 6 — after that, you can delete the local copy.

    Step 5: Add the service account as Owner in Search Console

    1. Open Google Search Console and select your site’s property.
    2. Go to Settings → Users and permissions.
    3. Click Add user, paste the service account email from Step 3, set the permission to Owner, and click Add.

    Owner is required — “Full” or “Restricted” access is not enough, and submissions will fail with a 403 error. If you manage several sites, repeat this step on each property; the same service account can be Owner on all of them.

    Service account as Owner in Search Console Users and permissions
    Search Console → Settings → Users and permissions, with the service account listed as Owner (“Pemilik” in this Indonesian interface).

    Step 6: Connect the key in SoraDigital Multi Indexer

    1. In WordPress, open SD Multi Indexer in the admin menu.
    2. Add a key: upload the JSON file (or paste its contents). The plugin reads the project ID and service account email from the file and stores the key encrypted.
    3. Send a test submission for your homepage. A successful response (HTTP 200) confirms the whole chain: project, API, key, and Owner permission.
    4. Optionally enable automatic submission so new and updated posts are sent as you publish, and IndexNow so Bing, Yandex, and other engines are notified at the same time.

    If your site publishes more than ~200 URLs a day, repeat Steps 1–5 for a second project and add its key as well. Multi Indexer tracks each project’s remaining daily quota and rotates submissions to whichever project still has room, so a single exhausted project never blocks the queue.

    SoraDigital Multi Indexer JSON Projects tab
    SoraDigital Multi Indexer → JSON / Projects: the connected project with its daily quota, used and remaining.
    SoraDigital Multi Indexer Queue tab
    The Queue tab: URLs waiting for quota are processed automatically, rotating across projects.

    When it fails: the four errors you will actually see

    403: Permission denied. Failed to verify the URL ownership.

    The service account is not an Owner of the Search Console property that matches the submitted URL. Re-check Step 5: the email must be exact, the permission must be Owner, and the property must cover the URL (a domain property covers all subdomains; a URL-prefix property only covers its exact prefix). Allow a few minutes after adding the user before retrying.

    403: Indexing API has not been used in this project before, or it is disabled.

    The API is not enabled on the project that owns the key. Open the link inside the error message — it leads straight to the right project’s API page — click Enable, wait a minute, and retry.

    429 / quota exhausted

    The project has used its daily publish/update quota (200 requests by default). Options: wait for the daily reset, request a quota increase in the Cloud Console, or — simplest for most sites — add another project key and let rotation spread the load. A submission log makes it easy to see which project ran dry and when.

    SoraDigital Multi Indexer Log tab
    The Log tab: every submission with its project, HTTP status and result — the first place to look when a submission fails.

    404: Requested entity was not found

    This usually appears when asking for the status of a URL that has never been submitted. Send a publish/update notification for the URL first, then check its status.

    One project or several? Compared with the Rank Math guide

    Rank Math’s well-known tutorial, “Get Google To Index Your Website Instantly Using the Indexing API”, covers the same Google Cloud groundwork: create a project, enable the API, create a service account and JSON key, add the service account as Owner in Search Console, then configure their separate Instant Indexing plugin. The Google-side steps in this guide are intentionally the same — there is only one way to create a project and a key.

    Where the two approaches differ is what happens after the key exists. The Rank Math flow is built around a single project and a single key: simple to set up, and entirely sufficient for a site that publishes a handful of URLs a day. SoraDigital Multi Indexer is built for the next stage — several projects whose quotas rotate automatically, a queue so bursts of publishing do not fail, per-channel duplicate protection so the same URL is not sent twice, a full submission log, and IndexNow handled in the same plugin.

    Aspect SoraDigital Multi Indexer Rank Math guide + Instant Indexing plugin
    Google Cloud setup Same steps; repeatable for additional projects One project, one service account, one JSON key
    Daily quota 200/day per project, rotated across all registered projects 200 requests/day (single project)
    When quota runs out Submissions move to the next project with quota; overflow is queued Wait for reset or request an increase
    Duplicate protection Built-in dedupe per URL and channel, with a log-based skip for already-sent URLs Manual care when resubmitting
    Submission history Persistent log: URL, project used, status, and response code Response shown at send time
    IndexNow (Bing, Yandex…) Built into Multi Indexer, sent alongside Google submissions Handled by the main Rank Math plugin’s Instant Indexing module
    Works without the vendor’s SEO plugin Yes — standalone, pairs with any SEO plugin Yes — standalone plugin

    Neither approach changes Google’s side of the equation: the Indexing API quota, the Owner requirement, and the enable-the-API step are identical. The difference is operational — how much headroom and visibility you have once submissions become routine.

    What Google officially says this API is for

    Google officially recommends the Indexing API for pages containing JobPosting structured data, or BroadcastEvent embedded in a VideoObject. In practice, site owners widely use it for regular content, and Google does crawl submitted URLs — but you should know the official scope before relying on it, and keep your sitemap and internal linking healthy regardless. Treat the API as an accelerator for discovery, not a replacement for the fundamentals.

    Six steps, two traps, one test submission

    Count it off: project, API, service account, JSON key, Owner permission, connect — six steps, none of them code. In practice, setups stall in just two places: an API that was never enabled, and a service account granted less than Owner in Search Console. Both take a minute to check. After that, one test submission returning 200 proves the whole chain works, and new posts can be announced as they publish instead of waiting to be found.

    Have your JSON key downloaded? Start with SoraDigital Multi Indexer, and pair it with SoraDigital SEO Optimizer for the rest of your on-page and technical SEO.