Appearance
SEO basics
Search engines and social apps (WhatsApp, Facebook, LinkedIn, X) read a few tags in index.html. The template ships with demo values. Replace them before you launch.
Title and description
html
<html lang="en">
<head>
<title>Aurelia Homes · Houses and apartments for sale in Dar es Salaam</title>
<meta name="description" content="Hand-picked homes, trusted local agents and clear prices. Book a viewing in Masaki, Oyster Bay and Mbezi." />
</head>
</html>- Title: about 50–60 characters. Business name plus what you offer and where. Remove any "(… design)" suffix left from the demo.
- Description: about 140–160 characters. A clear sentence a person would click. Google may show it under your title.
lang: set the main language of the page:en,sw(Swahili),fr…
Social sharing (Open Graph)
These tags control the preview card when someone shares your link. Add them inside <head>:
html
<meta property="og:type" content="website" />
<meta property="og:url" content="https://www.yourdomain.com/" />
<meta property="og:title" content="Aurelia Homes · Houses for sale in Dar es Salaam" />
<meta property="og:description" content="Hand-picked homes, trusted agents and clear prices." />
<meta property="og:image" content="https://www.yourdomain.com/og-image.jpg" />
<meta name="twitter:card" content="summary_large_image" />
<link rel="canonical" href="https://www.yourdomain.com/" />- Make an image 1200 × 630 px (JPG or PNG, under about 1 MB): your logo, a strong photo and a short line of text. A screenshot of your hero section works well.
- Save it as
public/og-image.jpg. Vite copies it to the root ofdist/. - Use the full URL, with
https://and your domain, inog:imageandog:url. Social apps ignore relative paths.
Test your preview
After deploying, paste your URL into the Facebook Sharing Debugger or LinkedIn Post Inspector. They also refresh cached previews. WhatsApp caches previews for a while, so test with a new link (for example add ?v=2).
robots.txt and sitemap
Since each site is a single page, the sitemap is tiny. Create two files in public/:
text
User-agent: *
Allow: /
Sitemap: https://www.yourdomain.com/sitemap.xmlxml
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://www.yourdomain.com/</loc>
</url>
</urlset>Then add your site to Google Search Console, verify the domain and submit the sitemap URL. For a local business, also create or update your Google Business Profile and link it to the site.
Content that helps ranking
- One clear
h1(usually the hero headline) that says what you do. Templates already use oneh1per page. - Mention your city or area and services in headings and text in a natural way.
- Write
alttext for every image you add. - Make sure contact details (phone, address) are real text, not only inside images.
- Replace all demo text. Duplicate demo content helps no one.
Structured data (optional)
For local businesses, a small JSON-LD block helps Google show your opening hours and address. Add it to <head> in index.html, using your details:
html
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "LocalBusiness",
"name": "Aurelia Homes",
"url": "https://www.yourdomain.com/",
"telephone": "+255 700 000 000",
"address": {
"@type": "PostalAddress",
"streetAddress": "Plot 12, Haile Selassie Road",
"addressLocality": "Dar es Salaam",
"addressCountry": "TZ"
}
}
</script>Use a more specific type if one fits: Restaurant, RealEstateAgent, Dentist, HealthClub…
Next
- Image prompt pack: replace demo images with your own.
- Deploy: put the site online.