A portable restroom rental company serving contractors, events and weddings across a U.S. metro area had a WordPress site with good content but a broken technical foundation. We rebuilt it from scratch, kept all the content and its URLs, and took it to production in two days.
The client
A U.S. company that rents portable toilets, ADA units, hand-wash stations and luxury restroom trailers. Its customers are contractors on monthly contracts, event organizers, couples planning weddings and emergency crews across several cities in one metro area. For confidentiality we don't publish its name or domain; the scope and figures can be reviewed on a call.
The problem
The site had plenty of content: more than seventy articles, a page per service and a page per city. The problems were in the foundation. The sitemap had frozen months earlier and left out 57 indexable pages, including every recent article. Fifteen URLs had a broken title ending in a stray dash where the company name should have been. Four pages linked to a template placeholder that was never replaced with the privacy policy. And more than twenty pages repeated the same copy with only the heading changed, a pattern Google can treat as filler content.
Speed was a problem too. The site relied on a visual page builder plus caching, SEO and form plugins. The homepage HTML alone weighed 201 KB and loaded 12 external scripts. For a business whose customers search from their phones, on a job site or while planning an event, a slow page is one more reason to call a competitor.
What we built
Before designing, we researched. We analyzed the five best-ranked sites across a sample of local searches in the category and found gaps almost none of them covered: published pricing, city pages with real local detail, visible social proof and strong mobile performance. That shaped the art direction. We presented hero concepts the client approved in stages, landing on a real photo of their units under their brand blue and a real map of their coverage area, with every city linked to its page.
The new site is custom PHP code with no CMS or page builder, AVIF and WebP images and only the code each page needs. Prices live in a single place in the code, so the pricing page, the homepage and the service pages always show the same numbers. The quote form runs in four steps and changes its questions by customer type: it asks a contractor for the contract length and a wedding for the guest count.
The migration was the most delicate part. We moved every article and page, with over five hundred FAQs, and classified one by one the 3,630 paths the old WordPress install had exposed over time. Content keeps its URL or 301-redirects to its equivalent: 147 paths stay the same and 1,667 redirect. The other 1,816 were attachments, uploaded files, feeds and page-builder templates with no value to users, and they return 410 or 404 on purpose. We didn't delete pages on a hunch: the twenty-plus repeated pages are still published, and consolidating them waits until Search Console shows which ones bring clicks.
We protected the measurement too. The same Google Tag Manager container stays in place, the phone-click event is unchanged and the quote-completed event was reconnected to the new thank-you page, so the GA4 history stays comparable. Before the switch we took a full backup of the site and database, tested all 3,630 paths on an Apache server running the same PHP version as production and documented a rollback estimated at under two minutes.
- Local competitor research. Analysis of the five best-ranked sites across a sample of category searches, and a content and URL plan built on that data.
- Art direction in stages. Hero concepts approved by the client before a line of code was written, using real photos of their units.
- Custom build, no plugins. PHP, HTML, CSS and JavaScript without heavy dependencies; AVIF and WebP images; one config file for phone, email and tracking.
- Real coverage map. Built from open map data; every city links to its service-area page.
- Published pricing from a single source. A pricing page plus price ranges on the homepage and service pages, all drawn from the same data so they never contradict each other.
- Step-by-step quote form by customer type. Four steps that adapt to construction, events, weddings, emergencies or monthly rentals, with spam protection.
- Migration with no lost content. 3,630 legacy paths classified and tested: content keeps its URL or 301-redirects, and obsolete paths return 410 or 404.
- Tracking continuity. The same Tag Manager container, the phone-click event unchanged and the quote event reconnected.
- Launch with a safety net. Full backup, testing on a server configured like production and a documented rollback.
What was measured
We measured on launch day, in December 2026. The homepage scored 97 for performance and 100 for accessibility, best practices and SEO on mobile Lighthouse, with the largest contentful paint at 2.4 seconds and a layout shift of 0.002. The live-site audit checked all 152 sitemap URLs (status, canonical, title and description) and found zero errors or warnings. Of the 3,630 legacy paths, 3,627 return the planned response live; the other three are internal WordPress paths the host's firewall answers with a 403. Structured data on 25 pages passed the schema.org validator with zero errors or warnings.
What we haven't measured yet is the effect on traffic and quotes: the site has just gone live and Search Console needs weeks to reflect the change. We'll update this case study with clicks, impressions and quote requests once there is a comparable period.
| Before | After | |
|---|---|---|
| Indexable URLs missing from the sitemap | 57 | Sitemap with all 152 published URLs |
| Broken titles | 15 | 0 |
| Pages with an unfinished template link | 4 | 0 |
| Homepage HTML weight | 201 KB | 75 KB |
| External scripts on the homepage | 12 | 3 |
| Pricing | No dedicated pricing page | Pricing page and a single source in code |
What you can apply in your business
A redesign doesn't mean starting over on Google
What Google already knows is your URLs and their content. Classifying every legacy path before the switch is what avoids losing traffic in week one.
Don't delete pages on a hunch
The repeated pages were a risk, but removing them without data was too. Keeping them at launch and deciding with Search Console avoids losing the ones that do bring customers.
Mobile speed is an architecture decision
A caching plugin can't make up for a page builder and twelve scripts. Removing what isn't needed is what gets a page to 97 on mobile.
Protect your tracking during the switch
Keeping the container and reconnecting the conversion events lets you compare before and after with the same numbers, the only way to know whether the redesign worked.













