Back

habitabarcelona.com

The agency's public website.

Sep 2026 – Present

Landing page:

The home page: buy, rent or ask for a free valuation from the first screen.

What it is for:

  • Bringing in property owners: they are where the agency's new listings come from.
  • Showing the flats: to people looking to buy or rent.
  • Connected to INMA: a visit request made on a listing goes straight into the agency's CRM.

From WordPress to Next.js

The rebuild

  • Before: an outdated WordPress site that did not do justice to an agency established in 2004 and among the best in Barcelona.
  • Now: a new site built from scratch, connected to the agency's tools and designed to attract owners and tenants and to give the agency the image it deserves.
  • Migration: a scraper moved the 171 listings and 4,741 photos into Supabase, and can be run again without creating duplicates.

SEO migration: keeping the search ranking

  • Every old URL has an answer:
    • 272 pages redirect with a 301 to their new equivalent, in a single hop;
    • 34 junk pages answer "410 Gone";
    • 4,711 old photo links point back to their listing.

Run by the agency

  • An eight-section admin panel:
    • listings;
    • photos, with drag-and-drop and cover selection;
    • featured properties per page;
    • the contact and job-application inboxes;
    • the team.

Current focus: attracting owners

  • Ranking better in search: building on the migration above.
  • Bringing in owners:
    • Free valuation: a step-by-step form where owners ask for a valuation of their property;
    • A hub for owners: a section for owners who want to sell or rent, with the reasons to trust the agency.
The free valuation form, first step: the property.
Stack: Next.js TypeScript Supabase Zod Tailwind CSS sharp Vercel