SiargaoHotels.ph

Category
Travel booking platform
Status
Live (WordPress) · Python rebuild in public repository
Where
Siargao Island
When
Web Hive PH, 2022–26
SiargaoHotels.ph homepage with hotel search
Homepage, searchReal screenshot
01

Overview

A booking site for Siargao hotels, tours and vehicle rentals, and a Python rebuild that replaces WordPress with its own admin.

02

The problem

Guests wanted to book hotels, tours and rentals directly instead of through long message threads; later, the owner wanted to leave WordPress without losing URLs or content.

03

Objectives

  • Date search across hotels, tours and rentals
  • Prices in pesos and dollars
  • Keep every old URL when moving off WordPress
04

My responsibilities

  • Built the live WordPress booking site
  • Wrote the Flask rebuild: public site, cart, accounts and admin
  • Wrote the WordPress REST importer and media bundler
  • Wrote smoke tests for every page and the booking and admin flows
05

Technology

WordPress · Elementor · PHP · Python · Flask · SQLite

06

Architecture

TemplatesJinja templates for the site and the admin
ViewsFlask blueprints: public, cart, auth, admin
DataSQLite schema: listings, rooms, reviews, bookings, booking items, posts, users and more
IntegrationsWordPress REST API importer; SMTP booking emails
DeployGunicorn behind Nginx with Let’s Encrypt HTTPS

Simplified diagram of the shipped system.

07

Features

  • Hotel, tour and rental search with filters, sorting and pagination
  • Cart with per-night, per-person, per-day and private-tour pricing
  • Peso and dollar switch
  • Booking requests with reference numbers and emails
  • Admin for listings, rooms, reviews, bookings, posts and settings
  • Canonical URLs, Open Graph, sitemap and robots.txt
08

Process

  • Kept every WordPress URL so rankings and shared links carry over
  • Bundled all 198 photos locally so nothing depends on the old server
  • Covered every page with smoke tests before switching
09

Challenges and solutions

Private tours are priced by group size, not per person.

The cart prices bookings per night, per person, per day or by group size, per listing type.

Migrating off WordPress risks broken links and lost content.

Same URLs, a REST importer for posts and pages, and locally bundled media.

10

Outcomes

  • Live at siargaohotels.ph
  • Public rebuild with tests for every page

Only verifiable outcomes are listed. No traffic or revenue figures are claimed.

11

Lesson

Migrations are mostly about the things that must not change: URLs, content and photos.