Home / Case studies /Peter Levitan

CASE STUDY / CLOUDFLARE + WORDPRESS + MCP / STAGING

Peter Levitan: a private Cloudflare redesign and a separate WordPress staging build

We built Peter a private Cloudflare design preview, with new editorial and consultancy journeys, then tested a native WordPress theme separately on staging. His existing articles were not newly authored or published by us.

Staging implementation verified 26 November 2026. Production launch and post-launch SEO outcomes are not claimed.

Cloudflare prototype, WordPress theme, MCP and staging validation before production.
Original explanatory diagram; not a screenshot of Peter’s site.
900Existing archive posts (staging inventory)
195Existing archive drafts
1,717Existing media items
8Child-theme templates
325Discoverable MCP abilities
5Recent theme-change backups

THE ENGINEERING DECISION

Keep WordPress. Replace the presentation.

A private Cloudflare design preview and eight shared WordPress staging templates. Existing posts and media are inventory, not content we published. The production website was not relaunched.

Peter already had the thing that takes most websites years to build: a substantial body of original writing. We could design a new website with AI, but what happened to that archive when the design became a real WordPress theme? That was the engineering problem, and the reason we did not start with a blank database.

In November 2026, we took on that challenge for Peter Levitan, author and advertising-agency consultant, whose existing website already contained a substantial archive of writing. The project was to develop a contemporary editorial and consultancy website without requiring Peter to abandon WordPress or recreate years of material.

We wanted AI to participate in the actual technical process, not just suggest layouts and headlines. That meant infrastructure discovery, theme engineering, staging, troubleshooting and controlled changes to the website.

What we actually built: a separate, private Cloudflare design preview, not a 900-article production website. The preview work included the redesigned homepage, book and decision-topic journeys, four documented sample blog articles, about, consultancy, speaking, press and reviews. The subsequent native WordPress theme work was on a separate staging installation. The existing WordPress articles and media were already present; we did not create, publish or migrate them into production. The preview remained protected (unauthenticated HTTP 403 with noindex on 28 November), so its current full route count is not publicly enumerable. The counts below describe the staging inventory on 26 November, not delivered-page counts. This is not a claim that we created or published the original articles.

Project at a glance

Question Answer
Client Peter Levitan, author and advertising-agency consultant
Design reference Independently hosted Cloudflare preview
Existing publishing system Self-hosted WordPress on managed hosting
Implementation Native classic parent theme and staging child theme, with shared PHP templates
AI workflow ChatGPT-assisted engineering, browser-assisted setup, then direct authorised miniOrange MCP tools
Outcome at the evidence date Working staging implementation, not a claim of production launch
Open release tasks Compare production URLs and content, verify actual integrations and approve release configuration

The pivotal decision: preserve the WordPress database and change the rendering layer. That meant a new layout could be applied to many articles without rewriting their body content.

Download the editable release checklist or inspect the dated evidence record. The checklist is a planning aid, not a record of completed release checks.

The real problem: a prototype is not a publishing system

An attractive design generated on a new platform can conceal the difficult parts of building a business website. Established sites have existing URLs, article archives, media, categories, menus, SEO metadata, newsletter workflows, forms and editing habits. The owner may have spent years accumulating this material.

Starting from scratch can be tempting, especially when the new design looks so much better. But first ask what a rebuild would put at risk. In Peter’s case, WordPress remained the right content management system. We wanted to replace the way the content was presented, not require a wholesale content migration to a different CMS.

The existing editorial archive was a central part of the brief. A homepage alone would not solve the problem. The redesigned website also had to make years of articles feel coherent with the new identity, support publishing further work and give readers sensible ways to explore it.

Phase one: separate the design from production

We developed a separate Cloudflare-hosted design preview so that experimentation could take place without changing Peter’s public WordPress website. The preview served as the reference for the new homepage, navigation, editorial hierarchy, typography and supporting page designs.

We could assess the visual structure and iterate before tackling WordPress integration. This separated two questions that otherwise get mixed together: what should the new website look like, and how should it work with the existing data?

There is a useful principle here for anyone using AI to build websites. Treat the first convincing preview as a design asset, not as an automatic production release. A prototype may be ready to show to a client while still needing substantial integration work.

Phase two: make the design a native WordPress theme

Static HTML can contain an entire article directly. WordPress needs reusable templates that retrieve the content stored in the database. A theme is not simply a folder of screenshots or a collection of static copies of the client’s pages.

We generated an installable theme from the Cloudflare design and adapted its frontend components to the WordPress environment. The staging implementation ultimately used a classic parent theme and a child theme, with reusable PHP templates and a defined scope for further changes.

Eight custom child-theme templates covered the homepage, article, blog, listing, standard page, agency consulting, press and reviews. The child theme therefore addressed more than just the new homepage.

The article template retrieves the actual WordPress post content and applies WordPress’s content formatting. The homepage and archive use native WordPress queries for published posts. That is a fundamentally different approach from exporting hundreds of pages as disconnected static HTML.

The template code was inspected directly through MCP on 26 November. The child-theme structure and active theme version were also confirmed by the WordPress connection. WordPress’s classic theme template hierarchy documentation explains the broader pattern of reusable templates.

How a template changes many pages at once

Below is a simplified illustration of the pattern used in the project. It is not a verbatim extract of Peter’s private theme code. In the inspected implementation the article template called WordPress content functions, while the homepage and blog used native queries.

// Illustrative WordPress article template pattern.
if ( have_posts() ) {
    while ( have_posts() ) {
        the_post();
        the_title( '<h1>', '</h1>' );
        the_content();
    }
}

The design can change independently of the stored post body. This is why a theme conversion can be more appropriate than exporting hundreds of articles to static files. A real implementation also needs to handle the layout, escaping, accessibility, theme hooks and plugin behaviour; the snippet deliberately omits those details.

Phase three: staging and hosting constraints

The project already had a managed WordPress hosting environment. We wanted to work with it rather than assume that a change of hosting provider, premium staging product or rebuild was necessary.

We set up a separate WordPress staging installation with WP Staging and worked through the administrative setup. Initial attempts exposed real friction: REST authentication, staging compatibility and the distinction between permission to edit content and permission to edit theme files.

Browser-assisted troubleshooting was useful for the parts of the work that required an administrative interface. But the goal was not to depend permanently on opening a browser and clicking through the same screens for every subsequent change.

Staging was kept distinct from production. Its search visibility setting discouraged indexing, and the staging code included search and outgoing-email safeguards. A noindex directive is not access control: we did not treat the setting as protection for confidential data.

An important release decision remained: staging-specific logic must not be copied indiscriminately onto production. Production needs its own review, backup, URL checks and appropriate indexing configuration.

Phase four: connecting an AI agent through miniOrange Secure MCP

The Model Context Protocol, or MCP, is a standardised way for compatible AI clients to discover and use external tools. We connected the staging installation with miniOrange Secure MCP Server for WordPress.

The distinction from a conventional chatbot is important. An agent connected to the permitted WordPress abilities can inspect actual state and, where authorised, execute structured operations. It does not have to merely tell the website owner how to do something.

On 26 November the staging connector reported 325 discoverable abilities. The active theme was writable, theme-file editing was enabled and the connector’s loopback check was passing. These findings establish that the staging access blocker was overcome. The count does not mean that all abilities should be used, that the agent has unrestricted server access, or that every operation is suitable for automation.

We found that permissions needed to be validated against the action itself. A connector might expose posts, pages and media without providing the theme access necessary for a particular development task. The answer was to establish a controlled workflow, not remove security indiscriminately.

Read the practical WordPress MCP guide for a fuller explanation of capability checks and the relationship between browser agents and direct integrations.

What the first attempts taught us

Obstacle in the project What it actually meant How we moved forward
Managed hosting limitations Installing a theme and editing its source are different capabilities Investigated the existing staging and host configuration rather than assuming a new hosting purchase was necessary
REST and connector access issues A working WordPress login did not prove that the AI integration could authenticate Used browser-assisted administration and checked the connection on staging
Theme-file editing initially unavailable Content access was insufficient for PHP template work Checked host and connector capabilities until file editing and loopback checks passed
The design looked different from an old article A homepage conversion alone did not deliver a coherent archive Built shared article and listing templates, and iterated on their rendering

These failures are why we prefer to diagnose the precise blocked operation instead of repeatedly attempting the same action. The publicly available miniOrange WordPress handbook describes the connector’s role and approval controls. Our MCP implementation guide explains how to separate a successful connection from a successful theme change.

From browser-assisted setup to direct theme development

The administrative stage and the ongoing development stage called for different tools. A browser agent can help where the only available interface is an authenticated dashboard. Once a direct integration exposes a suitable operation, a structured call can inspect the active theme, identify a file, stage a change and return a specific result.

In the later phase of this project, we could use MCP to inspect the real PHP source and check the status of the theme. The staging system retained five recent theme-change backups dated 25 November, including changes to individual article and consulting templates and a larger template batch.

Our preferred pattern was to inspect, make a bounded change, review it, apply it in staging and inspect the outcome. A backup makes reversal possible, but it does not substitute for a functional or visual check. For a new release we still need to verify that the page renders as intended and that existing functionality is intact.

Browser automation remained useful where direct operations could not perform the task. We did not claim a completely autonomous or error-free development process.

The dated change trail

The staging connector returned the following recent backup entries on 26 November. We have retained the UTC timestamps and affected file groups, but omitted private identifiers and administrative URLs. These entries are evidence of staged theme work, not elapsed human labour or measured speed improvements.

25 November 2026 (UTC) Recorded change group
16:38:46 Homepage and theme functions
16:48:13 Eight templates: homepage, article, blog, listing, page, consulting, press and reviews
16:51:08 Consulting template
16:55:58 Article template
16:57:22 Article template

The last five backup records span about nineteen minutes. They show an iteration sequence, not the duration of the entire conversion.

Designing reusable article templates, not republishing the archive

The editorial challenge was to make the historical archive feel like part of the new site rather than a disconnected collection of older pages.

Shared templates make this manageable. A post’s body remains in WordPress, while its surrounding layout — typography, headings, related navigation and editorial structure — comes from the theme. The new homepage can use the latest published articles without requiring a developer to change the homepage whenever a new article appears.

The same principle applies to the archive. A native listing query can return posts in the appropriate order, support pagination and link to their WordPress permalinks.

That also reveals why the original website’s structure matters. A new visual design does not remove the need to consider categories, archives, author attribution, formatting, media embeds and search behaviour. We designed for these issues rather than assume that every historical post would look identical without further checks.

The decisions that made the implementation safer

Decision Why it mattered What remains to verify for release
Separate Cloudflare preview Design iteration without changing the live CMS Compare approved design with production render
Retain WordPress Existing content and editing workflow remain central Reconcile production and staging content and URLs
Parent and child theme Isolate subsequent template modifications Review inheritance and release configuration
Direct MCP access Inspect actual state and perform permitted changes Confirm least-privilege production abilities
Staging backups Keep a recoverable route for theme changes Test the release rollback process
Staging indexing and mail safeguards Reduce accidental staging exposure and email side effects Verify production indexing and real integrations

What we can verify today

The existing archive in the staging copy on 26 November contained 900 posts with published status, 195 drafts and 1,717 media library items. These were inventory counts, not articles or media created by Five Grand. The active child theme was version 3.58.3 and included eight PHP templates. The connector returned 325 abilities and five recent backups, with direct filesystem access and a passing loopback check.

These are dated observations from the staging connection and theme source, not estimates of how many historical posts have been successfully migrated to a new production system. The original website and the staging copy need to be compared before release. No client endorsement, revenue uplift, savings percentage or search performance increase is inferred.

For a content-heavy redesign, the important milestone is a functioning publishing environment that can be reviewed before changes reach live visitors.

Evidence boundaries and repeatability

The same read-only checks were repeated during the editorial review on 26 November: the child theme was writable, direct file editing was available, loopback passed, no theme draft was pending and the five backup records remained present. Our sanitised evidence record distinguishes observed values from unmeasured outcomes. It is a curated record of the readback, not a signed server export.

SEO: protect the existing assets before seeking growth

A redesign can improve user experience and create new opportunities for search, but retaining WordPress does not guarantee that Google rankings will remain unchanged.

Before switching a new theme into production, we would compare the important existing URLs, status codes, canonical tags, titles, indexability and internal links. We would also check any redirects, feeds, sitemaps, structured data, mobile layouts and important forms or integrations.

If URLs change, permanent redirects need to be mapped to appropriate destinations. If URLs do not change, the objective is to avoid unnecessary redirects or accidental canonical changes. Google’s site move guidance describes the principles for migrations where URL changes are required.

The production release is a separate milestone. Search Console data should then be compared using a dated pre-launch baseline and settled post-launch windows, taking account of changes in demand. We will not report traffic improvements until measured.

How we would measure the production result

Before release, export a dated inventory of important landing pages and their search data. On release, compare URL status and canonical destination, check that the new production pages are indexable, and test representative archive, search, article and form routes. After release, compare settled 7-, 28- and 90-day reporting windows against comparable pre-launch periods, noting seasonality and unrelated site changes. Measure enquiries independently from clicks.

That measurement plan matters more than declaring the redesign an SEO success prematurely. We can update this case study when real post-launch evidence exists.

What an established business can learn from this

If you have built an AI-generated website that looks better than your current site, do not immediately assume you need to discard the current system. Start with a few practical questions. Where is your content stored? Who publishes it? What existing URLs receive traffic? What needs to work when the new design goes live? Can the prototype become a theme or does it require a more extensive application integration?

If those questions reveal substantial existing value, a carefully scoped conversion may be the better choice.

The experience with Peter’s site showed that AI can support genuine engineering tasks when paired with the right infrastructure and permission boundaries. Cloudflare was useful for independent design. WordPress remained the editorial source of truth. Browser assistance helped with administrative troubleshooting. MCP made direct inspection and controlled theme operations possible.

The most useful result was not a new homepage. It was a working staging theme connected to the existing editorial system, with a repeatable way to inspect and adjust the implementation.

If you have an AI prototype or an outdated WordPress site, our AI website to WordPress conversion service and WordPress website redesign services explain the practical routes available. Share the current website and any preview you have, and we can assess the scope.

Evidence note: the historical project threads and staging readback informed this account. We have not published private administrative logs, credentials, screenshots or a non-indexed staging URL. The diagram is an original explanatory illustration.

A MORE USEFUL FIRST CONVERSATION

Tell us what you have and what needs to work.

Build a short enquiry for our team. Include your current site, preview and the result you want. We will assess scope before quoting. Please do not include passwords, API keys or private documents.

Prefer email? info@pearllemongroup.com ↗

YOUR NEXT STEP

Bring the website you already have.

Send us your existing website, preview or brief. We will assess the technical route and agree scope before work begins.

Our £5,000 standard marketing website is a separately scoped offer. Large migrations, custom integrations and ongoing care are quoted separately.

RELATED SERVICES & ENGINEERING NOTES

Keep exploring.

All case studies →