Inside the design, engineering and WordPress migration of a Barcelona hospitality website.

Behind the Build · №1 · AI Visibility Studio

The old WordPress contact page asked for a name, an email address and a message. If a guest wanted to ask about the second bedroom, the host first needed to know which of nine apartments they meant.

In a desktop test of the new site, we chose a four-night stay and followed the enquiry link. The form opened with the apartment and dates already filled in. A guest could start with the question they actually wanted to ask. Getting those few seconds right took us from art direction and multilingual publishing all the way to how the enquiry gets to the host.

The old WordPress homepage and form beside the rebuild, showing a sample enquiry. Photography: PDG15.

Designing a collection around its differences

We built the site for PDG15, an independent collection of apartments in central Barcelona. Each home needed its own photographic introduction. Someone comparing two homes also needed to find the sleeping arrangements, amenities and enquiry controls in familiar places.

On the homepage, we gave a single interior the full width of the screen. The large serif title sits over the film, and the date and guest controls sit along its lower edge. Someone arriving for the first time can take in the room. Someone returning with dates in mind can act on them straight away.

One photograph earned its place twice on an apartment page. In the gallery, the living room shows how the sofas sit beside the dining area. Under “Where you’ll sleep,” the same photograph explains where guests five and six will spend the night. Whether you’ll have the living room to yourself after the children go to bed is a detail that “sleeps six” can’t settle.

We used Cormorant Garamond for the editorial headings and Manrope for the smaller type a guest needs to scan. Deep navy on warm off-white leaves most of the colour to the rooms. Terracotta draws the eye to an enquiry. The line icons have an equally specific job. A washer and a drying rack get separate symbols because they answer different packing questions.

The galleries needed a separate composition on a phone. Desktop opens with a collage, while mobile gives the first photograph the full frame. On four apartment pages, the browser could briefly show one image and swap it when the gallery script started. We moved the opening choice into the HTML so the browser could load the intended photograph first. Only desktop screens preload the four supporting collage images. We checked the result on all nine pages, down to a 320-pixel viewport.

The desktop gallery opens as a collage; on mobile it opens with one photo. Photography: PDG15.
The working design system: typography, colour, the enquiry button and amenity icons.

Publishing one site in three languages

The host’s knowledge of the city called for two formats. Arrival directions and nearby places went into a searchable guide. An architecture walk or a morning at the markets needed room for a story. The local journal launched with 18 stories, each published in English, Spanish and Catalan.

The publishing system generates the Spanish and Catalan apartment pages from English HTML and translation catalogues. The journal takes Markdown, so a writer can add a story, an image description and a credit using the existing layout. Each proposed change triggers a rebuild that checks whether all three editions are up to date. An English edit can look finished in a preview while the other two editions still carry yesterday’s markup. The check catches that before publication.

The bedroom guide in English, Spanish and Catalan. Photography: PDG15.

Building the host’s rules into the enquiry

The host gave us a precise rule for monthly apartments. A stay could run from 32 nights to 11 calendar months. For someone arriving on 31 March, the latest departure falls on the last day of the following February. We put the rule in code shared by the browser and server, then tested it against both 28 and 29 February.

The form carries forward the apartment, dates, party size and language. The server validates the stay before passing the enquiry to the mail service. An email can be on its way just as the guest’s connection drops. An unchanged retry uses the same delivery key, so a second click doesn’t send the host a duplicate. In a separate launch test, we sent a labelled test enquiry through the public form and verified that the mail service reported delivery. We didn’t verify whether it landed in the host’s inbox.

Moving an established site without losing its history

Put the two homepages side by side and the change in art direction is immediate. The old site opened on the city at night. The new one opens inside an apartment. The quieter difference is in the forms beneath them. The old form gave guests a blank message box. The new one can already tell the host which stay prompted the question.

Moving off WordPress also meant taking responsibility for 659 old image addresses. Two originals were too large to deploy as single static files. We stored them in pieces and streamed each complete photograph back at its original address. At cutover we requested every image with and without a query string and compared the returned files byte for byte. All 1,318 cases matched, with one connection reset passing on retry.

One issue only surfaced after the switch. Some visitors could still reach the old site and follow a link to a page that existed only on the new one. We reproduced that route, corrected it and followed the link again on the public domain. Then we checked the photographs across the homepage, the collection and all nine apartments. We’d put an old bookmark on the launch checklist for any future rebuild. It takes you somewhere the new navigation never asked you to go.

Whether a guest arrives through an old bookmark or starts with dates they’ve already chosen, they should be able to pick up where they left off.

Designed, engineered and delivered by AI Visibility Studio. Explore the full PDG15 case study.