Categories
AI Web Development WordPress

How to Get Your WordPress Site Cited in ChatGPT, Google AI Overviews, and Perplexity

To get a WordPress site cited by ChatGPT, Google AI Overviews, Perplexity, and the rest, you have three jobs: let the AI search crawlers reach your pages, write each page so a single passage can answer a question on its own, and then measure what happens. Most sites that never show up in AI answers are failing the first job without knowing it.

Last updated: November 1, 2026.

Disclosure: some links in this post are affiliate links, marked as sponsored. If you sign up through them I may earn a commission at no extra cost to you. I only recommend hosts I have used.

If you want the background on what AI optimization is and how it differs from SEO, start with What Is AIO? AI Optimization Explained. This post is the hands-on checklist.

Step 1: Know which AI crawlers matter

Each AI company runs more than one bot, and they do different jobs. The important split is between bots that power search and answers (block them and you disappear from that tool’s answers) and bots that collect training data (block them and you only opt out of future model training).

User agentCompanyWhat it doesIf you block it
GooglebotGoogleCrawls for Google Search, including AI Overviews and AI ModeYou drop out of Google entirely. Never block this.
Google-ExtendedGoogleA robots.txt token for Gemini training and grounding in some other Google productsOpts out of that use. Does not affect Search or AI Overviews.
BingbotMicrosoftCrawls for Bing, which also feeds CopilotYou lose Bing and Copilot visibility
OAI-SearchBotOpenAIFinds pages to show in ChatGPT search answersYou won’t appear in ChatGPT search answers
GPTBotOpenAICollects content that may be used to train OpenAI modelsOpts out of training only
ChatGPT-UserOpenAIFetches a page when a ChatGPT user asks it toOpenAI says robots.txt rules may not apply, since a person asked
Claude-SearchBotAnthropicIndexes pages for Claude’s search resultsLess visibility in Claude’s search answers
ClaudeBotAnthropicCollects content that may be used to train ClaudeOpts out of training only
Claude-UserAnthropicFetches a page when a Claude user asks a questionClaude can’t read your page for that user
PerplexityBotPerplexityIndexes pages for Perplexity answersYou won’t be surfaced in Perplexity search

Sources: OpenAI crawler docs, Anthropic’s help center article on its crawlers, and Google’s AI features documentation, which is explicit that Googlebot rules are the control for AI Overviews.

Step 2: Check and fix your robots.txt

Open yourdomain.com/robots.txt in a browser. If you see Disallow: / under OAI-SearchBot, Claude-SearchBot, PerplexityBot, or User-agent: *, that’s your problem.

A common middle ground is to allow the search bots and opt out of training. It looks like this:

# Show up in AI search and AI answers
User-agent: OAI-SearchBot
Allow: /

User-agent: Claude-SearchBot
Allow: /

User-agent: PerplexityBot
Allow: /

# Opt out of model training
User-agent: GPTBot
Disallow: /

User-agent: ClaudeBot
Disallow: /

User-agent: Google-Extended
Disallow: /

# Everyone else
User-agent: *
Disallow: /wp-admin/
Allow: /wp-admin/admin-ajax.php

Sitemap: https://www.example.com/wp-sitemap.xml

Swap in your own domain on the sitemap line. OpenAI says changes to robots.txt take about 24 hours to reach its systems, so don’t panic if nothing changes the same afternoon. Whether you block training bots at all is a judgment call. Some site owners figure being in the training data helps brand recall later. I don’t think there is a wrong answer, as long as you block on purpose and not by accident.

Where robots.txt lives on WordPress

Unless a physical robots.txt file sits in your site’s root folder, WordPress generates one on the fly. That’s how this blog works: I checked, and there is no file on disk. The generated version lists my sitemaps and blocks only /wp-admin/, so every AI crawler is welcome here. You have three ways to change a virtual robots.txt:

  • Your SEO plugin’s robots.txt editor, if you run one (Yoast, Rank Math, and All in One SEO all have one).
  • Upload a real robots.txt file to the root folder. It overrides the virtual one completely, so include everything you need.
  • Add rules with the robots_txt filter in a small must-use plugin. This is what I prefer because it survives theme changes and needs no plugin:
<?php
// wp-content/mu-plugins/ai-robots.php
// Adds AI crawler rules to the robots.txt WordPress generates.
add_filter( 'robots_txt', function ( $output, $public ) {
    if ( ! $public ) {
        return $output; // Site is set to discourage search engines.
    }
    $output .= "\nUser-agent: GPTBot\nDisallow: /\n";
    $output .= "\nUser-agent: ClaudeBot\nDisallow: /\n";
    $output .= "\nUser-agent: Google-Extended\nDisallow: /\n";
    return $output;
}, 10, 2 );

While you are in there, check Settings > Reading. If “Discourage search engines from indexing this site” is ticked, WordPress tells every crawler to stay away. It gets left on after launches more often than anyone admits.

Step 3: Check your firewall and CDN

robots.txt is a polite request. Firewalls are not. If your CDN or security plugin blocks a bot outright, your robots.txt rules don’t matter.

  • Cloudflare. Starting July 1, 2025, Cloudflare began blocking known AI crawlers by default on newly added domains. If your site moved to Cloudflare after that, look at the AI crawler settings in your dashboard and decide which bots to let through. Cloudflare can control search bots and training bots separately.
  • Security plugins. Some bot-blocking rules in security plugins lump AI crawlers in with scrapers. Check the blocked traffic log.
  • Host-level protection. Many managed hosts run bot protection at the edge. Usually it leaves verified crawlers alone, but if your site disappears from AI answers after a move, ask support.

A quick test from the command line:

curl -s https://www.example.com/robots.txt

# Rough check for user-agent based blocking (a 403 here is a red flag)
curl -s -o /dev/null -w "%{http_code}\n" -A "OAI-SearchBot" https://www.example.com/
curl -s -o /dev/null -w "%{http_code}\n" -A "PerplexityBot" https://www.example.com/

This only catches blocks based on the user agent string. A firewall that verifies real bots by IP address may treat your test differently from the actual crawler, so treat a 200 as “probably fine” and a 403 as “definitely look into it.”

Step 4: Get indexed in Google and Bing

AI answers are built on search indexes, so the boring setup work still pays:

  • Verify your site in Google Search Console and submit your sitemap. WordPress has a built-in one at /wp-sitemap.xml unless an SEO plugin or Jetpack replaced it (this blog uses Jetpack’s /sitemap.xml).
  • Verify in Bing Webmaster Tools too. People skip Bing, but Copilot is built on it, and Bing now reports how often you get cited in AI answers.
  • Turn on IndexNow if your SEO plugin or host supports it. It pings Bing and other participating engines when you publish or update a post, instead of waiting for a recrawl.

Step 5: Make every page easy to quote

Once crawlers can reach you, the content has to be worth lifting. AI tools quote passages, so write in passages:

  • Lead with the answer. The first two sentences under the title should answer the question the title asks. Same rule under each H2.
  • Use question headings where it is natural, like “How long does a WordPress migration take?” That mirrors how people prompt AI tools.
  • One idea per paragraph, and name the subject instead of saying “it.” A paragraph that starts “This plugin also…” can’t be quoted alone.
  • Put comparisons in tables and steps in numbered lists.
  • Date your content. A visible “Last updated” line, and real updates when facts change.
  • Add an FAQ section for the questions people actually ask, with FAQPage structured data that matches the visible text word for word. Google is clear that structured data should match what’s on the page.
  • Keep key content in the HTML. Many AI crawlers fetch the raw page and run little or no JavaScript, so text that only loads through scripts, sliders, or tabs may never be seen.

Here is the difference in practice. A typical old intro:

“In today’s fast-paced digital world, website speed matters more than ever. In this article, we’ll explore some of the many factors that can affect how quickly your WordPress site loads.”

The AIO version:

“The fastest way to speed up a slow WordPress site is to fix hosting and caching first, then images, then plugins. Most sites get the biggest gain from page caching, which a good managed host handles for you.”

The second one can be quoted as a complete answer. The first one says nothing.

Step 6: Measure AI traffic and citations

Measurement is patchy, but you can get a decent picture:

  • GA4. In Explore, build a free-form report with Session source as the dimension and filter it with this regex: chatgpt\.com|perplexity\.ai|gemini\.google\.com|copilot\.microsoft\.com|claude\.ai. ChatGPT usually adds utm_source=chatgpt.com to the links it shows, which helps. Two caveats: many AI clicks arrive with no referrer and land in Direct, and in October 2026 a ChatGPT bug stripped that tag for about a week before OpenAI fixed it. Assume your AI numbers are an undercount.
  • Bing Webmaster Tools AI Performance. Shows total citations in Copilot and Bing AI answers, which pages get cited, and the grounding queries behind them.
  • Search Console. AI Overviews and AI Mode clicks are mixed into the regular Web numbers. You can’t separate them, but sudden drops in clicks with steady impressions are often an AI Overview taking the click.
  • Manual checks. Keep a list of ten questions your site should answer. Ask them in ChatGPT, Perplexity, and Google once a month and write down who gets cited.

The short checklist

  1. robots.txt allows OAI-SearchBot, Claude-SearchBot, PerplexityBot, Googlebot, and Bingbot
  2. “Discourage search engines” is off
  3. CDN and security plugin aren’t blocking AI search bots
  4. Sitemap submitted to Google Search Console and Bing Webmaster Tools
  5. Every key page answers its question in the first two sentences
  6. Comparisons in tables, steps in lists, FAQ with matching structured data
  7. Visible “Last updated” dates
  8. AI referral report saved in GA4

Fast pages for readers and crawlers

A crawler that times out can’t cite you. This blog runs on Pressable, which puts Edge Cache in front of WordPress and includes staging sites, so I can test robots.txt and plugin changes before they go live.

FAQ

How do I get my website to show up in ChatGPT?

Allow OAI-SearchBot in your robots.txt and firewall, make sure your pages are indexed in search engines, and write pages that answer a specific question in the first two sentences. OAI-SearchBot is the crawler OpenAI uses to find pages for ChatGPT search answers.

Does blocking GPTBot remove my site from ChatGPT?

No. GPTBot collects content for model training. Search visibility in ChatGPT is controlled by OAI-SearchBot, so you can block GPTBot and still appear in ChatGPT search answers.

Does blocking Google-Extended remove my site from AI Overviews?

No. Google says Googlebot robots.txt rules control crawling for Search, including AI Overviews and AI Mode. Google-Extended only covers Gemini training and grounding in some other Google products.

Where is the robots.txt file in WordPress?

Unless a physical robots.txt file exists in the site root, WordPress generates a virtual one. You can change it with an SEO plugin, by uploading a real robots.txt file, or with the robots_txt filter in a must-use plugin.

How do I track traffic from ChatGPT and Perplexity in Google Analytics 4?

In GA4 Explore, use Session source as the dimension and filter with a regex such as chatgpt.com, perplexity.ai, gemini.google.com, copilot.microsoft.com, and claude.ai. Expect an undercount, because many AI clicks arrive without a referrer and show up as Direct.

Related posts

Categories
AI Business Web Development

What Is AIO? AI Optimization Explained (and How It Differs From SEO)

AIO, short for AI optimization, is the work of making your content easy for AI tools to find, trust, and quote. That means ChatGPT search, Google AI Overviews and AI Mode, Perplexity, Microsoft Copilot, and Claude. In practice it is about 80% ordinary SEO with a different scoreboard: instead of chasing a blue link in position one, you want your page to be one of the handful of sources an AI answer pulls from and cites.

Last updated: November 1, 2026.

Disclosure: some links in this post are affiliate links, marked as sponsored. If you sign up through them I may earn a commission at no extra cost to you. I only recommend hosts I have used.

AIO, GEO, AEO, LLMO: one idea, four labels

If you have seen these acronyms flying around, they mostly describe the same thing. Agencies pick whichever one sounds like it needs a new retainer.

TermStands forWhat people usually mean
AIOAI optimizationThe umbrella term: showing up in any AI-generated answer
GEOGenerative engine optimizationSame thing, from a 2023 research paper that coined the phrase
AEOAnswer engine optimizationOlder term from the featured snippet and voice search days, now stretched to cover AI
LLMOLarge language model optimizationSame goal, usually with more emphasis on how models are trained

One warning: “AIO” also gets used as shorthand for Google AI Overviews. If someone says “we lost traffic to AIO,” they probably mean the Overviews box, not the discipline. Context will tell you which.

How AI answers pick their sources

It helps to know what happens when someone types a question into ChatGPT or sees an AI Overview. There are two separate ways your site can end up in the answer.

  • Live retrieval. The tool runs a search behind the scenes, grabs a small set of pages, reads them, and writes an answer with links back to some of them. Google uses its own search index for this. ChatGPT search uses OpenAI’s crawler (OAI-SearchBot) plus search partners. Claude and Perplexity run their own search crawlers too. This is the part you can influence this month.
  • Training data. The model also “knows” things from what it read during training. If your brand or site has been mentioned across the web for years, the model may bring you up even without a live search. This is slow, and you mostly influence it by being worth talking about.

The practical takeaway: retrieval is a search problem first. If a crawler can’t reach your page, or your page doesn’t rank anywhere for the question, it won’t be in the small pile the AI reads before it answers.

What Google actually says about AIO

Google has been unusually direct about this. Its documentation on AI features in Search says:

“There are no additional requirements to appear in AI Overviews or AI Mode, nor other special optimizations necessary.”

The same page says you don’t need new machine-readable files, AI text files, or special schema markup. A page has to be indexed and eligible to show a snippet, and that’s the bar. Everything else is the normal stuff: let Googlebot crawl, use internal links, keep important content in text, and make sure any structured data matches what is visible on the page. (Source: Google Search Central.)

So if someone sells you a special “AI Overviews schema package,” you can politely decline.

AIO vs SEO: what changes and what doesn’t

Traditional SEOAIO
GoalRank a page for a queryGet a passage quoted or cited in an answer
Unit that winsThe whole pageA paragraph, table row, or list that answers one question cleanly
ScoreboardRankings, clicks, impressionsCitations, mentions, and referral visits from AI tools
Who has to reach youMostly Googlebot and BingbotGooglebot, Bingbot, OAI-SearchBot, Claude-SearchBot, PerplexityBot, and others
MeasurementMature (Search Console, rank trackers)Patchy (some reports, lots of guessing)
FundamentalsCrawlable, fast, useful, linkedThe same list, unchanged

The biggest real shift is the unit that wins. AI tools lift passages, not pages. A 3,000-word post with the answer buried in paragraph nine can still rank, but it is a poor source for an AI that wants one clean sentence to quote.

What actually moves the needle

Here is the short list I’d work through, roughly in order of payoff.

  • Let the right crawlers in. Check robots.txt and your firewall or CDN. Plenty of sites block AI search bots without knowing it. I cover exactly which bots to allow in How to Get Your WordPress Site Cited in ChatGPT, Google AI Overviews, and Perplexity.
  • Answer first. Put the direct answer in the first two sentences under the title and under each question heading. Then explain.
  • Write passages that stand on their own. If a paragraph only makes sense after reading the three above it, an AI can’t quote it. Name the thing you are talking about instead of saying “it” or “this tool.”
  • Be specific. Numbers, dates, version names, prices, steps. “Hourly database backups and daily full backups” beats “robust backup options” every time.
  • Say something nobody else can. First-hand testing, your own screenshots, your own results. AI answers lean on sources that add something, and generic rewrites of other articles give them no reason to pick you.
  • Keep it fresh, and show it. A visible “Last updated” date, plus actually updating facts when they change.
  • Use tables and lists where the content is naturally a table or list. Comparisons, specs, and steps are easy to extract.
  • Make it clear who you are. An author name, an about page, and consistent details about your business across the web help both search engines and AI tools connect the dots.
  • Get mentioned in other places. Forums, YouTube, industry sites, and reviews feed both search results and future training data. You can’t fake this one quickly.

What’s mostly hype (for now)

  • llms.txt. It is a proposed file that summarizes your site for language models. Google says you don’t need AI text files to appear in its AI features, and there is little public evidence the big AI search tools rely on it. It is cheap to add, so add one if you are curious, but don’t expect it to do much.
  • Special “AI schema.” Regular structured data is fine when it matches the page. There is no secret markup.
  • Writing for prompts instead of people. Stuffing “best X for Y in 2026” phrasing into every paragraph reads badly and doesn’t help.
  • Pumping out AI-written filler. The irony is thick: the content AI tools are least likely to cite is generic content that looks like it came from an AI tool.
  • Paying for AI visibility dashboards before fixing the basics. Tracking tools have their place, but they can’t fix a robots.txt file that blocks the crawlers.

What I’m doing on this blog

Since early October I’ve been rewriting old posts on this site with AIO in mind. The pattern is the same every time: a two-sentence answer at the top, a “Last updated” line, a fact table where it fits, an FAQ section with matching FAQPage structured data, and cutting the throat-clearing intros I wrote ten years ago. Some of those posts were 60 words long and now actually answer the question in the title.

It is too early to share hard numbers, and AI referral data is messy (more on that below). I’ll report back once there is enough of it to say something honest.

How to measure AIO

Measurement is the weakest part of AIO right now. Here is what’s available:

  • Google Search Console. Clicks and impressions from AI Overviews and AI Mode are counted in the Performance report under the “Web” search type. You can’t split them out, but you can watch the totals.
  • Bing Webmaster Tools. Bing added an AI Performance report in February 2026 (in preview) that shows how often your pages are cited in Copilot and Bing AI answers, which pages get cited, and the “grounding queries” behind those citations. It is the most direct citation data any search engine offers today.
  • Google Analytics 4. Look at referral traffic from chatgpt.com, perplexity.ai, gemini.google.com, copilot.microsoft.com, and claude.ai. Expect an undercount, since many AI clicks arrive with no referrer and land in Direct.
  • Ask the tools yourself. Keep a short list of questions your site should answer, run them in ChatGPT, Perplexity, and Google every month or so, and note who gets cited. Low-tech, but it works.

A host that lets the right bots in

Slow pages and overeager firewalls are an easy way to drop out of AI answers without noticing. This blog runs on Pressable, with Edge Cache in front of WordPress, so crawlers and readers get fast pages either way.

FAQ

What does AIO stand for?

AIO stands for AI optimization: making your content easy for AI tools like ChatGPT, Google AI Overviews, Perplexity, Copilot, and Claude to find, trust, and cite. People also use “AIO” as shorthand for Google AI Overviews, so check the context.

Is AIO the same as GEO?

Mostly, yes. GEO (generative engine optimization), AEO (answer engine optimization), LLMO, and AIO all describe the same goal of showing up in AI-generated answers. The labels differ more than the work does.

Does AIO replace SEO?

No. AI search tools retrieve pages through search indexes and crawlers before they write an answer, so a page that is not crawlable or not ranking anywhere is unlikely to be cited. AIO builds on SEO rather than replacing it.

Do I need special schema or an llms.txt file for Google AI Overviews?

No. Google says there are no additional requirements or special optimizations for AI Overviews or AI Mode, and no special schema or AI text files are needed. A page has to be indexed and eligible to show a snippet.

How do I know if AI tools are citing my site?

Check Bing Webmaster Tools for its AI Performance report, watch AI referral traffic in Google Analytics 4 from sites like chatgpt.com and perplexity.ai, and periodically ask the AI tools the questions your pages answer to see who gets cited.

Related posts

Categories
Web Hosting WordPress

How to Fix Mixed Content Warnings in WordPress

Mixed content means a page loaded over HTTPS is pulling in some files (images, scripts, stylesheets, fonts, iframes) over plain HTTP. On a WordPress site it almost always happens after a move to HTTPS, because old http:// URLs are still saved in the database. The fix is a careful search and replace, plus a quick look at your theme and any hardcoded embeds.

Last updated: October 28, 2026.

Disclosure: some links in this post are affiliate links, marked as sponsored. If you sign up through them I may earn a commission at no extra cost to you. I only recommend hosts I have used.

What mixed content looks like

Depending on what is loading over HTTP, you might see:

  • No padlock, or a “Not secure” label, even though the address starts with https
  • Images that don’t appear
  • A broken layout, because a stylesheet was blocked
  • Sliders, forms, or embeds that stop working, because a script or iframe was blocked

Modern browsers handle the two kinds of mixed content differently. Images, audio, and video are upgraded to HTTPS automatically, and blocked if the HTTPS version doesn’t exist. Scripts, stylesheets, and iframes loaded over HTTP are blocked outright, and that is what breaks pages.

Step 1: Find every insecure URL

Open the page in Chrome, press F12, and click the Console tab. Each problem shows up as a line like this:

Mixed Content: The page at 'https://example.com/' was loaded over HTTPS,
but requested an insecure resource 'http://example.com/wp-content/uploads/photo.jpg'.

That tells you exactly which file is the problem. Check a few different page types (home page, a post, a page, your contact form), because a widget or a single post can be the only offender.

To find every stored copy at once, search the database with WP-CLI:

wp db search 'http://example.com' --all-tables

Step 2: Set both site URLs to https

In Settings > General, make sure WordPress Address and Site Address both start with https:// and match the www or non-www version your site actually uses. If changing these locks you out with a redirect loop, see How to Fix ERR_TOO_MANY_REDIRECTS in WordPress.

Step 3: Search and replace old URLs in the database

This fixes most mixed content in one pass. Back up first. Then do a dry run, which reports what would change without changing anything:

wp db export before-https.sql

wp search-replace 'http://example.com' 'https://example.com' --all-tables --skip-columns=guid --dry-run

# looks right? run it for real
wp search-replace 'http://example.com' 'https://example.com' --all-tables --skip-columns=guid

A few notes from doing this on a lot of sites:

  • Run it again for http://www.example.com if your site ever used www.
  • WP-CLI’s search-replace handles serialized data correctly. A raw SQL UPDATE ... REPLACE() query does not, and can break widgets and theme settings.
  • Skip the guid column. WordPress uses it as a permanent ID, not a link, and the official advice is to leave it alone.
  • No WP-CLI? The Better Search Replace plugin does the same job from wp-admin, including a dry run.

Try it on a staging copy first if your host gives you one. Here is how staging works on Pressable.

Step 4: Check the theme, widgets, and custom CSS

If the console still shows warnings after the search and replace, the URL is probably not in the database. Places to look:

  • Theme files: search your theme for http://. Background images in style.css are a common one.
  • Page builders that cache CSS to files. Elementor, for example, has a Regenerate CSS option under Elementor > Tools. Run it after the replace.
  • Hardcoded script or font tags added by a plugin or in a header/footer code snippet
  • Third-party embeds. If an old widget or iframe only works over HTTP, swap it for an HTTPS version or remove it.

Step 5 (stopgap): Tell browsers to upgrade requests

The upgrade-insecure-requests directive tells the browser to request every http:// resource on the page over HTTPS instead. You can send it as a header from your server or CDN:

Content-Security-Policy: upgrade-insecure-requests

SSL plugins like Really Simple SSL can add it for you too. It only works if the file actually exists on HTTPS, and it hides the problem rather than fixing it, so I treat it as a stopgap while the database cleanup gets done.

Step 6: Purge caches and test again

Page caches, CDNs, and minify plugins can keep serving the old HTML with the old URLs. Purge everything, then reload the page in a private window and check the console again. A clean console and a padlock means you are done.

Where http:// URLs hide, and how to fix each

Where it livesExampleFix
Post and page contentImages inserted before the HTTPS switchwp search-replace or Better Search Replace
Widgets and theme settingsLogo URL, footer HTMLsearch-replace (handles serialized data)
Theme filesBackground image in style.cssEdit the file, use https or a relative path
Page builder CSS filesCached CSS with old URLsRegenerate CSS in the builder’s tools
Third-party embedsOld widget or iframe on httpUse the HTTPS embed code or remove it

Free SSL on every domain

Pressable issues free SSL certificates for every domain on your site, and includes staging sites, so you can test a database search and replace before you run it on the live site.

FAQ

What is mixed content in WordPress?

Mixed content is when a page served over HTTPS loads some files, such as images, scripts, or stylesheets, over plain HTTP. It usually comes from old http:// URLs left in the database after a switch to HTTPS.

How do I find mixed content on my site?

Open the page in Chrome, press F12, and check the Console tab. Each insecure file is listed with its full URL. WP-CLI’s wp db search command finds every stored copy in the database.

Do I need the Really Simple SSL plugin to fix mixed content?

No. A one-time search and replace of http:// URLs in the database fixes most cases without a plugin. An SSL plugin can help as a stopgap while you clean up.

Why does my site still say Not secure after fixing mixed content?

Check for cached pages, a form that submits to an http:// address, hardcoded URLs in theme files, or an expired SSL certificate.

Should I replace http with https in the guid column?

No. WordPress uses the guid as a permanent identifier, not a link, so skip it with –skip-columns=guid.

Related posts

Categories
Web Hosting WordPress

How to Fix ERR_TOO_MANY_REDIRECTS in WordPress

ERR_TOO_MANY_REDIRECTS means your browser got bounced between URLs until it gave up. Chrome and Firefox both stop after 20 redirects. On a WordPress site the cause is almost always two settings that disagree about the “real” address of the site: http or https, www or no www. Fix the disagreement and the loop goes away.

Last updated: October 28, 2026.

Disclosure: some links in this post are affiliate links, marked as sponsored. If you sign up through them I may earn a commission at no extra cost to you. I only recommend hosts I have used.

The same error shows up under different names depending on the browser:

  • Chrome and Edge: This page isn’t working. example.com redirected you too many times. ERR_TOO_MANY_REDIRECTS
  • Firefox: The page isn’t redirecting properly
  • Safari: Safari can’t open the page because too many redirects occurred

I have run into this on client sites more times than I can count, usually right after someone “just turned on HTTPS” or put the site behind Cloudflare. Here is the order I check things in, fastest first.

What causes a WordPress redirect loop

CauseTypical signFix
Stale cookies or cacheLoop only happens for you, or only when logged inClear cookies for the domain, purge caches
WordPress Address and Site Address disagreeStarted right after editing Settings > GeneralSet both to the same https URL
Cloudflare SSL mode set to FlexibleSite is behind Cloudflare and the host forces HTTPSSwitch SSL/TLS mode to Full (strict)
Two HTTPS or www redirects fightingStarted after adding a plugin, an .htaccess rule, or a host redirectKeep one redirect, remove the rest
HTTPS not detected behind a proxyOnly wp-admin loops, often after FORCE_SSL_ADMINAdd the X-Forwarded-Proto check to wp-config.php
A plugin redirecting on its ownRedirect, language, membership, or security plugin recently changedDeactivate plugins, then turn them back on one by one

Step 1: Rule out your own browser

Open the site in a private window or on your phone over cellular. If it loads there, the problem is a cookie or cached redirect on your machine. Clear cookies for that one domain (not your whole browser) and try again.

If you can use a terminal, curl shows you the whole chain, which is the fastest way to see where the loop is:

curl -sIL https://example.com | grep -iE '^(HTTP|location)'

You will see a list of status codes and Location headers. A loop usually looks like the same two URLs taking turns, for example http to https and back again, or www to non-www and back again. That pattern tells you which two settings are fighting.

Step 2: Check the WordPress Address and Site Address

WordPress stores two URLs: siteurl (WordPress Address) and home (Site Address). On most sites they should be identical, including https and www. If one says http://example.com and your host forces https://www.example.com, you get a loop.

You usually can’t reach wp-admin while the loop is happening, so check them with WP-CLI:

wp option get home
wp option get siteurl

# set both to the address you actually want
wp option update home 'https://www.example.com'
wp option update siteurl 'https://www.example.com'

No WP-CLI? Add these two lines to wp-config.php above the line that says “That’s all, stop editing”. They override the database values:

define( 'WP_HOME', 'https://www.example.com' );
define( 'WP_SITEURL', 'https://www.example.com' );

You can also edit the siteurl and home rows in the wp_options table with phpMyAdmin. If you’re on WP Engine, here is how to get into phpMyAdmin there.

Step 3: Fix Cloudflare’s SSL mode

This is the most common cause I see. With Cloudflare’s Flexible SSL mode, visitors connect to Cloudflare over HTTPS, but Cloudflare connects to your server over plain HTTP. Your server or WordPress sees an HTTP request and redirects to HTTPS. Cloudflare passes that redirect back to the browser, the browser asks again over HTTPS, Cloudflare fetches over HTTP again, and around it goes.

The fix: in the Cloudflare dashboard go to SSL/TLS and set the encryption mode to Full (strict). That makes Cloudflare talk to your server over HTTPS, which works as long as your host has a valid certificate installed. Every managed WordPress host I use issues one for free.

While you’re in Cloudflare, look for duplicate redirects in Redirect Rules or old Page Rules, and check whether Always Use HTTPS is on. That setting is fine on its own, but it adds one more redirect to the pile if your host or a plugin is already doing the same job.

Step 4: Remove duplicate HTTPS and www redirects

A redirect to HTTPS should happen in exactly one place. Common places it hides:

  • Your host’s dashboard (many managed hosts force HTTPS at the platform level)
  • An SSL plugin such as Really Simple SSL
  • Rules in .htaccess on Apache servers
  • A redirect plugin like Redirection, or your host’s redirect tool
  • Cloudflare or another CDN

Pick one, usually the host or CDN since it runs before WordPress loads, and turn off the others. Do the same for www versus non-www. If your host runs NGINX without Apache, .htaccess is ignored completely, so rules there won’t be the cause, but they won’t fix anything either. Pressable is one of those hosts, and it handles redirects with a custom-redirects.php file instead. For Apache sites, my .htaccess file for WordPress shows a clean HTTPS rule.

Step 5: Make WordPress see HTTPS behind a proxy

If the front end works but /wp-admin/ loops, WordPress probably doesn’t know the request came in over HTTPS. That happens behind load balancers and some proxies that end the HTTPS connection before it reaches PHP. WordPress checks is_ssl(), gets false, and redirects the admin to HTTPS again.

Add this to wp-config.php, above the “stop editing” line:

if ( isset( $_SERVER['HTTP_X_FORWARDED_PROTO'] ) && 'https' === $_SERVER['HTTP_X_FORWARDED_PROTO'] ) {
    $_SERVER['HTTPS'] = 'on';
}

Managed WordPress hosts normally handle this for you, so on those platforms this is rarely the fix. It matters most on self-managed servers and container setups.

Step 6: Turn off plugins without wp-admin

If the URLs and SSL settings are right and the loop is still there, a plugin is the next suspect. Save a list of active plugins first so you can put things back the way they were:

wp plugin list --status=active --field=name > active-plugins.txt
wp plugin deactivate --all

If the site loads, reactivate plugins one at a time and reload after each one until the loop comes back. No WP-CLI? Rename wp-content/plugins to plugins-off over SFTP, which disables every plugin, then rename it back and activate them individually from wp-admin.

Step 7: Purge every cache

A redirect can get cached at several layers: your host’s page cache, a CDN, a caching plugin, and the browser itself. After you fix the real cause, purge all of them, then test in a private window. On WP Engine that means the cache button in the User Portal or WP Admin, covered in How to Clear the WP Engine Cache.

Want HTTPS handled for you?

On managed WordPress hosting the SSL certificate, the HTTPS redirect, and the page cache all live in one dashboard, which removes most of the places a redirect loop can come from. WP Engine is the host I have written about most on this blog.

FAQ

Is ERR_TOO_MANY_REDIRECTS a problem with my computer or the website?

Usually the website. Test in a private window or on another device. If it loads there, clear cookies for that domain on your machine. If it fails everywhere, the site’s settings need fixing.

Will clearing cookies fix ERR_TOO_MANY_REDIRECTS?

Only when the loop is caused by a stale cookie or a cached redirect in your browser. If the loop happens on every device, the cause is on the server or CDN.

How many redirects does Chrome allow before showing the error?

Chrome and Firefox both give up after 20 redirects in a row.

Why does only wp-admin have a redirect loop?

Usually WordPress can’t tell the request arrived over HTTPS, which is common behind a proxy or load balancer. Setting $_SERVER[‘HTTPS’] from the X-Forwarded-Proto header in wp-config.php fixes it.

Can a redirect loop hurt SEO?

Yes, if it lasts. Search engines can’t crawl pages they can’t reach, so fix it quickly and then check Google Search Console for crawl errors.

Related posts

Categories
AI Tools Web Hosting WordPress

WordPress.com AI Website Builder: How It Works and What to Fix Before You Launch

Some links on this page are affiliate links. If you sign up through them I may earn a commission at no extra cost to you.

Most people who want a website get stuck at the blank page. They know what the site is for, but picking a theme, writing a homepage, and finding images is where the project stalls for weeks.

The WordPress.com AI Website Builder goes after that exact problem. You describe the site you want, answer a few questions, and it builds a first draft with a layout, images, and starter content. Then you finish it in the normal WordPress editor. Here is how it works, what to have ready, and what you still need to do yourself before you hit publish.

What the AI Website Builder does

You describe your site in a chat box, something like “Create a website for my dog grooming business in Portland.” The AI asks follow-up questions about design and content, then shows you a site brief: an overview, the pages it plans to build, your goals, and your contact details. You can add or remove pages at that point. When you approve the brief, it builds the site.

What you get back is a real WordPress site, not a locked-down template. It has a designed layout, suggested images, starter text on each page, and a navigation menu. The site opens in the AI Editor with a live preview next to the chat, so you can keep refining with prompts or switch to editing by hand.

One thing to know up front: building and launching with the AI Website Builder requires a WordPress.com account and a paid plan. You pick the plan before the build starts.

What to have ready before you start

The AI does better work when you give it better input. Spend ten minutes on this list before you open the builder:

  • The site’s purpose. What is it for and who is it for? “A portfolio for a wedding photographer in Austin” beats “a photography site.”
  • The site name. Your business name or the name you want on the header.
  • Your preferred style. Colors you like, the mood you want (clean, bold, warm, minimal), and any sites you admire.
  • Your planned content. The pages you need (Home, About, Services, Contact, Blog) and a rough idea of what goes on each.
  • Optional social links. The builder lets you share links to your social profiles to guide the design and content.

Expect the AI to ask follow-up questions. Answer them with specifics. Vague answers get you a generic site.

How the build works, step by step

  1. Open the AI Website Builder and click Get started. Log in or create a WordPress.com account.
  2. Search for a domain, or skip it for now and use a free WordPress.com address. You can add a custom domain later.
  3. Choose a paid plan and check out.
  4. Describe your site in the chat and send it.
  5. Answer the AI’s follow-up questions about design and content.
  6. Review the site brief. Add or remove pages here, before anything gets built.
  7. Click Create site. The build takes several minutes. You can leave the page and WordPress.com will email you when it is ready.

The work between a generated draft and a finished site

This is the part most AI builder reviews skip. The AI gives you a strong starting point, not a finished site. Plan on spending real time here.

Rewrite the copy

Starter text is written to fill space. Read every page. You can rewrite text directly in the editor or ask the AI to change the tone or length of a section. Be specific in your prompts: name the section and describe what you want, such as “Make the About section shorter and more casual.”

Pay close attention to anything that makes a claim about you. Replace placeholder business descriptions, service lists, and testimonials with real, accurate material. A made-up testimonial on a live business site is a bad look, and it can be a legal problem.

Swap the images

Suggested images are a placeholder for your own photos. You can replace them with uploads, items from your Media Library, AI-generated images, or stock photos. Real photos of your work, your team, or your space almost always beat generic stock.

Adjust pages and navigation

You can add pages with a prompt like “Create a Team page for my business,” pick from the layouts it suggests, and save. The menu works the same way: select it and ask for changes such as “Add a Blog link to the navigation.” You can also add and edit pages and menu items manually.

Fine-tune the design

Ask for color or font changes in plain language, or click a single element and describe the change you want. Every change can be undone, and you can also set colors and fonts by hand in the Site Editor under Styles.

Your pre-launch checklist

New WordPress.com sites start in Coming Soon mode, so nobody sees your site until you click Launch site. Use that time. Before you launch, check:

  • Every button goes where it should. Click each one.
  • Social links point to your real profiles, not placeholders.
  • Contact details (email, phone, address, hours) are correct.
  • No placeholder testimonials, team members, or business descriptions are left.
  • Images are yours or properly licensed, and they fit the page they are on.
  • Each menu item opens the right page.
  • The site reads well on your phone.

What it does not do: online stores

The AI Website Builder does not currently create ecommerce features. It will not set up products, a cart, or checkout. If you need to sell online, build the site first, then install WooCommerce separately on a paid plan. If a store is the main point of your site, start with my comparison of WordPress.com Commerce vs DIY WooCommerce hosting instead.

Who it is a good fit for

  • New bloggers who want a clean, designed site without picking through hundreds of themes.
  • Freelancers and creatives who need a portfolio up quickly and plan to drop in their own work.
  • Service businesses such as contractors, coaches, salons, and consultants that need a few clear pages and a contact form.
  • Anyone launching a simple landing page for an event, product idea, or newsletter.

It is a weaker fit if you need a store, a membership site, or heavy custom functionality, or if you already have a WordPress site you want to redesign. In those cases you are better served by a full WordPress setup on managed hosting.

My take

I like the way this is set up. You are not locked into what the AI produces, and you are not stuck in a proprietary builder. Under the hood it is a normal WordPress site, so everything you learn in the editor carries over, and you can grow it with plugins and a custom domain later.

The catch is that the first draft is only as good as your input and your editing. Go in with your name, purpose, style, and content ready, and budget an afternoon to replace the placeholder material. Do that and you will have a site that looks designed, reads like you, and is ready to launch.

Ready to try it? Describe your site and let the AI build your first draft. A WordPress.com account and paid plan are required to build and launch.

FAQ

Is the WordPress.com AI Website Builder free?

No. You need a WordPress.com account and a paid plan to build and launch a site with it. WordPress.com says the builder is included with all paid plans.

Can the AI Website Builder make an online store?

Not right now. The AI does not build ecommerce features. If you need a store, you can install WooCommerce yourself on a paid plan after the site is created.

Can I edit what the AI builds?

Yes, all of it. You can keep asking the AI for changes or open any page in the WordPress editor and change the text, images, layout, pages, and menu by hand.

Will the AI write my business details for me?

It writes starter copy, but treat it as a placeholder. Replace any business descriptions, testimonials, and contact details with real, accurate information before you launch.

Does the site go live as soon as the AI finishes?

No. A new WordPress.com site starts in Coming Soon mode, so only you can see it. It goes public when you click Launch site.

What kinds of sites is it good for?

Blogs, portfolios, landing pages, and service business sites such as a bakery, a photographer, or a consultant. It is not the right tool for stores or apps with complex integrations.

Related