Case study: how asgru.com moved from WordPress to agentic management

Published · 3 min read

For several years this site ran on WordPress with WPML: nine languages, a blog, service pages and about 540 indexed URLs. It had to be rebuilt around a new focus — AI-first development — without losing a single page in search. Instead of another theme and a set of plugins, the site moved to a setup where changes are made by an AI agent and every edit goes through a Git repository.

Starting point

  • WordPress with WPML in 9 languages: English, Estonian, Russian, German, French, Spanish, Italian, Latvian and Polish.
  • 544 pages and posts, more than a hundred images.
  • An SEO plugin generating sitemaps and hreflang.
  • Every change went through the admin panel; bulk edits such as hundreds of titles were done by hand.

What we did

1. Exported the content from WordPress

A script pulled posts and pages through the WordPress REST API, converted the HTML to Markdown and saved each page as a file with metadata: language, URL, translation key, SEO title and description. Links between translations were rebuilt from the hreflang data in the old sitemaps. Images were downloaded into the repository.

2. Rebuilt the site as a static site

The site is built with Next.js into plain HTML files. The server runs no PHP and has no database — nothing to hack and nothing to patch every week. The sitemap with hreflang, an RSS feed per language, llms.txt for AI assistants and the .htaccess rules are generated at build time.

3. Kept every URL

All 541 URLs from the old sitemaps were checked automatically: 423 open at the same address, 118 redirect permanently (301) to their new location. WordPress services, for example, moved into their own /wordpress/ section, and links inside articles were rewritten to the new addresses so there is no extra redirect hop.

4. Handed the work to an AI agent

From here the site evolves through requests in plain language. An AI coding agent (Claude Code) worked in the project folder: editing content and templates, running the build and checks and showing the result in a local preview. That is how the following were done:

  • the new design and service sections for six CMS platforms;
  • the Search Console analysis: 961 queries clustered by topic and language;
  • fixing 424 SEO check issues — long and duplicate titles and descriptions;
  • social preview images for 269 pages.

Every change is a commit that can be reviewed and reverted.

5. Set up publishing from Git

After review, changes go to a GitHub repository. GitHub Actions builds the site and puts the result into a separate branch, and the host (Hostinger) pulls it through Git deployment. No more manual FTP uploads.

Results

  • Speed of change. Bulk edits that used to take days in the admin panel are one request and are checked automatically.
  • Control. A history of every change, review before publishing and rollback with one command.
  • Security and cost. No PHP, database or plugins — nothing to update or break into, and the simplest hosting is enough.
  • SEO under control. A built-in check for titles, descriptions, duplicates and translations runs on every build; changes are logged in an SEO experiment journal.

Who this setup suits

Sites whose content does not change every minute: company and service sites, blogs, documentation and multilingual sites. If a site needs customer accounts or a complex shop, WordPress can stay — with its code in a repository and managed through an agent as well.

Want the same for your site? See how the agentic website management service works.

Need help with this?

New service

Agentic website management

Local machine → repository → server: you ask, an AI agent changes the site, every change is reviewed, saved and deployed automatically. I set it up and teach your team.

How it works →

More articles

· 2 min read

Automatic deployment to Hostinger from GitHub

How to publish a site to Hostinger automatically from a GitHub repository: Git deployment in hPanel, a webhook, a GitHub Actions build and keeping secrets safe.

Contact

Let's talk about your project

An AI agent, an automation, a website improvement or a full rebuild — describe the task in a few lines and I will reply within one business day.

Tallinn, Estonia · working remotely across Europe