Search & security

SEO

Search engines reward pages that load fast, say clearly what they are about and are easy to crawl. A pepita site starts with the first and gives you tools for the rest.

Why plain HTML helps

A pepita site is plain HTML, CSS and JavaScript, with no framework runtime added. That has three effects that matter for search:

  • Pages are fast. There is little to download, and pepita minifies CSS and JavaScript and makes WebP images at publish.
  • Content is in the HTML. Crawlers read your text straight from the page, without running JavaScript. That includes your collections.
  • Everything is editable. Every tag search engines read is a line you, your developer or the AI can change.

The basics on every page

TitleThe <title> is the headline in search results. Keep it under about 60 characters, with the most important words first.
Meta descriptionThe sentence under the headline. One or two sentences saying what the page offers.
One main headingA single <h1> per page, with <h2> and <h3> below it in order.
Alt textA short description on every meaningful image.
Canonical linkTells search engines which address is the real one when a page can be reached more than one way.
Language<html lang="en">, or your site's language.

The Site Health audit checks all of these, and Improve site health adds the missing ones. You can also ask the AI: "write a title and meta description for every page".

Site-wide files

sitemap.xmlLists your pages for search engines. Improve site health creates one from your page files.
robots.txtTells crawlers what they may visit and where the sitemap is. Improve site health creates one, and the AI visibility switch adds to it.
_redirectsReal 301 redirects keep the rankings of pages you move or rename.

Blogs and collections

Each collection item gets its own address and can have its own <title> and meta description. pepita puts the items into the page on the server, so search engines see every post without running JavaScript.

Social previews and structured data

  • Open Graph tags decide the title, text and picture shown when someone shares your page on LinkedIn, Slack or WhatsApp. Use the original image, not the .webp copy, for og:image; see images.
  • JSON-LD structured data tells search engines and AI assistants what your page describes: a local business, a product, an article, opening hours.

Improve site health drafts both for you to accept or skip.

What pepita doesn't do yet

  • Collection item pages aren't added to the generated sitemap.
  • There is no per-language routing or hreflang, so multilingual SEO needs care.
  • There is no Search Console connection. Add your site to Google Search Console yourself.
  • There is no RSS feed for collections.