SEO - Make your MPA Search Friendly

Search Engine Optimization

With a few steps, your site will be indexed and understood by search engines. Multi Page Applications (MPAs) often have an advantage over Single Page Applications (SPAs), because each page can have its own URL, metadata, and content structure. Below are the core SEO principles that make a real difference for small, semantic sites.

1. Content structure

Use semantic HTML tags whenever possible instead of generic div elements. This gives your content inherent meaning and helps search engines interpret the page correctly.

Follow a logical heading hierarchy (H1 > H2 > H3…) to outline the structure of your content. Each level should introduce a new section or sub-section, not just change the font size.

Ensure full alignment between your $title, $description, main headline (H1), sub-headlines (H2), and the body content. When all these elements point to the same topic, search engines can understand the context instantly and classify the page accurately.

2. Internal linking

A coherent internal linking strategy helps search engines crawl your site more effectively and create a clear hierarchy of the content. Use descriptive text that reflects the target page's topic. One simple way is to create internal links is a coherent navigation with groups of related links. For an example the side nav on this site.

3. Use the targets language

This is both marketing and SEO. Use the terminology your target audience naturally uses when searching for information. This includes common phrases, everyday wording, and domain-specific jargon. When your content matches the language of your audience's queries, search engines can more confidently match your pages to those searches.

4. Image alt text

An image alt text is a short description of an image that helps search engines understand what the image is about. It also improves accessibility for users with visual impairments. Make sure to include relevant keywords in the alt text, but avoid keyword stuffing.

5. Add Sitemap + robots.txt

Create a sitemap.xml file and place it within the seo folder together with the robots.txt file. The Go init.go is already prepared to serve these file to the root. Then add this sitemap to Google Search Console to help Google find and index your pages. A benefit for some test tools. Note that robots.txt refers to the sitemap.

<?xml version="1.0" encoding="UTF-8"?>
<urlset
      xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
            http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
<!-- created with Free Online Sitemap Generator www.xml-sitemaps.com -->


<url>
  <loc>https://hello3.go4webdev.org/</loc>
  <lastmod>2026-01-20T18:15:57+00:00</lastmod>
  <priority>1.00</priority>
</url>
<url>
  <loc>https://hello3.go4webdev.org/gvp</loc>
  <lastmod>2026-01-20T18:15:57+00:00</lastmod>
  <priority>0.80</priority>
</url>
<url>
  <loc>https://hello3.go4webdev.org/home</loc>
  <lastmod>2026-01-20T18:15:57+00:00</lastmod>
  <priority>0.64</priority>
</url>


</urlset>

Sitemap: https://hello3.go4webdev.org/seo/sitemap.xml
User-agent: *
Allow: /

Create Sitemap Submit to Google Search Console
6. publish quality content

Regularly publish high-quality, relevant content that addresses the needs of your target audience. This helps improve your site's authority and encourages repeat visits.