Rescuing a Real Estate Agency From a PHP Site Nobody Could Fix

Client: Diyar Turk

My Role: Lead Systems Integrator & Platform Architect

At a Glance

  • 650 properties migrated to a clean, structured new architecture
  • 6 languages — Arabic, English, Turkish, Farsi, Russian, and French served from a single platform
  • Chronic downtime eliminated — a site that was regularly offline is now stable and reliable
  • Media performance rebuilt — unoptimized images and videos replaced with a properly structured media pipeline
  • Multiple developers had failed to stabilize the old system before this engagement

The Challenge

Diyar Turk is a real estate agency operating in Türkiye and targeting Arab, Persian, French, and international property buyers. By the time they came to me, their digital operation had become a serious liability.

The original website was a custom PHP build — and not a good one. The codebase had been written without proper structure, without documentation, and without any consideration for maintainability. What that meant in practice was that every developer brought in to upgrade or maintain it ran into the same wall: the code was so tangled and so fragile that making any change risked breaking something else. One by one, they quit. The site stayed broken.

Chronic downtime was the most visible symptom. For a real estate agency whose entire sales pipeline depends on buyers being able to browse properties, a site that is regularly unavailable is not a minor inconvenience — it is direct revenue loss. Every hour the site was down was an hour a potential buyer was on a competitor’s platform instead.

The media problem was equally damaging. Real estate is a visual business. Buyers make decisions based on photography and video — and those assets need to load fast, display correctly, and feel premium. The old site had no image optimization, no video handling strategy, and no media pipeline of any kind. Property images were being served raw, uncompressed, directly from the server. On a site already struggling with performance, this was catastrophic for load times and for the impression it left on high-intent buyers.

The multilingual requirement added another layer of complexity that the old system was completely unequipped to handle. Serving Arabic, English, Turkish, Farsi, and French from a single platform — with proper RTL support for Arabic and Farsi, correct character encoding throughout, and a backend that agents could update in multiple languages without breaking anything — was simply beyond what the original codebase could support.

650 properties sat in that broken system. Migrating that volume of structured data — property details, pricing, location data, specifications, media files, multilingual content — without losing records or corrupting the structure was a precision operation in itself.

The Approach

The correct decision here was not to keep trying to fix the existing codebase. Every developer before me had made that attempt and failed. The codebase was not worth saving — it was a liability masquerading as an asset, and the right move was to replace it entirely with infrastructure built correctly from the start.

The fundamental requirement was a platform that non-technical agents could operate reliably — adding properties, updating listings, managing media — without needing developer intervention for routine tasks. The old system had made every basic operation a potential crisis. The new one needed to make every basic operation trivial.

I selected WordPress as the application foundation with ACF Pro for the property data schema, and chose the WoodMart theme as the starting point — not for its e-commerce functionality, but because its structural bones were solid enough to be stripped back and rebuilt as a dedicated property portal. Rather than building a theme from scratch, deep customization of an existing robust framework was the faster and more maintainable path.

For the multilingual layer, WPML gave me proper RTL support for Arabic and Farsi, correct language routing, and a translation management environment that the team could operate without technical knowledge.

What I Built

Full Legacy Migration — 650 Properties Extracted and restructured the entire property database from the old PHP system into the new ACF Pro schema. Every property record — details, specifications, pricing, location data, and associated media — was migrated and properly structured. Content that had been stored inconsistently in the old system was normalized during migration, so the new platform started clean.

Property Portal Architecture Built a complete property management system using ACF Pro and custom PHP templates — property listings with full specification fields, location taxonomy, property type classification, availability status, and agent assignment. The backend was designed so agents with no technical background could add, update, and manage listings without friction.

Media Pipeline & Optimization Rebuilt the entire media handling approach from scratch. Images are now properly compressed and served at appropriate sizes for their display context. Video content is handled through embed integration rather than direct server hosting, eliminating the performance cost of serving raw video files. The result is a property browsing experience that loads fast and presents the visual quality that high-value real estate buyers expect.

Six-Language Multilingual Platform Implemented full multilingual support across Arabic, English, Turkish, Farsi, Russian, and French using WPML — with proper RTL rendering for Arabic and Farsi, correct character encoding throughout, and language-specific URL routing. Each language version is independently manageable by the team without technical involvement.

WoodMart Theme — Deep Customization Stripped the WoodMart theme of its e-commerce functionality and rebuilt it as a dedicated property portal. Custom templates, modified navigation structures, property-specific layout components, and a frontend experience designed for browsing high-value real estate rather than purchasing products.

Stable Hosting Environment Configured the hosting environment for reliability — proper caching, database optimization, and resource allocation tuned for a media-heavy real estate platform. The chronic downtime that had defined the previous site’s existence was eliminated by building on infrastructure that was correctly provisioned from the start.

The Outcome

The most immediate result was stability. A site that had been regularly down — that had defeated multiple developers and frustrated agents for years — simply stayed up. That baseline reliability, which should be unremarkable, was transformative for a team that had normalized operating around their own website’s failures.

For the sales operation, the impact was direct. Agents could add and update properties without filing requests to a developer. Buyers across five language markets could browse a fast, visually coherent platform that presented the agency’s portfolio professionally. The media that drives real estate decisions — photography, video — loaded correctly and quickly for the first time.

The 650-property migration gave the new platform an immediately substantial inventory. There was no rebuilding period, no gap in listing availability — the new platform launched fully stocked.

The engagement ended with a complete handoff. The team operates the platform independently and has not required technical intervention since.

My Role & Responsibilities

I assessed the legacy system, designed the full replacement architecture, executed the data migration, built the property portal, implemented the multilingual layer, and optimized the media pipeline. This was a complete rescue and rebuild delivered as a single engagement with a clean independent handoff at completion.