BunStackDocs

SEO & search

SEO: what the storefront does and what you fill in

Titles, canonical, one address per page, noindex, robots.txt, sitemap, social previews and structured data.

Last updated · 4 min read

The storefront writes the SEO tags itself.

Where: Settings › Workspace profile, the product, Categories and the designer's page settings.

What you fill in

WhereFieldBecomes
Settings › Workspace profileLegal name, address, email and phoneThe company data on the home page
The product's DESCRIPTION · SEO cardMeta description (SEO), at most 160 charactersThe product page's description
Categories › EditSearch title (at most 60 characters) and Meta description (at most 160 characters)The category page's title and description. See Categories and category SEO.
The designer › Pages › the cog › Search & socialTitle, Description, OG image, Canonical, IndexThe page's tags. The fields win over the computed values.
The designer, the Footer componentContact and socialThe structured data lists the links as the company's profiles
Settings › ShippingActive shipping methods to the home countryThe shipping price in the product data

Title and description

PageTitleDescription
Product“Product name · Shop name”Meta description (SEO), otherwise the first 160 characters of Short description, otherwise of the description
CategorySearch title, otherwise “Category · Shop name”Meta description, otherwise the first 160 characters of the description
Text page“Page title · Shop name”The first 160 characters of the text
Designer page“Page title · Shop name”“Page title at Shop name.”
Home pageThe storefront's name“Welcome to Shop name.”

BunStack cuts the text at a whole word. The designer's fields win over these values. Storefronts in Swedish get Swedish default texts, other storefronts English.

One address per page

  • Every indexable page has a canonical to its own address without the query string.
  • An address with a trailing slash gets a 308 to the address without it.
  • ?currency= with a currency the storefront sells in opens the page in that currency. The address bar then shows the address without the parameter. Any other value gets a 302 to the same address without the parameter. The canonical never has ?currency=.
  • A storefront with its own domain answers other addresses with a 308 to the domain. See Domains and DNS.
  • An old address that gives a 404 can lead on with a redirect. When an active product or a category changes slug, BunStack creates a 301 automatically. See Redirects.

Pages that are not indexed

These pages have noindex, nofollow:

  • cart, checkout, pending Kustom payment and order confirmation
  • order pages, return pages and “Ångra köp / Withdraw from purchase”
  • search, wishlist, order lookup and the 404 page
  • designer pages with the status Private or with Index off

robots.txt closes /cart, /checkout, /orders, /wishlist, /search, /order-confirmation, /api and /_preview. /api/feeds/ is open for product feeds. The file points to the sitemap.

Sitemap

/sitemap.xml lists:

  • the home page
  • categories with at least one visible product in the storefront
  • active products that are visible in the storefront
  • published text pages
  • designer pages with the status Live and Index on

A product with Sold only as an add-on on is not listed, and nor is a category with only such products. See Add-ons.

Every row except the designer pages has a modification date. BunStack caches the sitemap for 10 minutes.

Note: A storefront that is not live answers with a 404 page. A private storefront shows the members page for robots.txt and /sitemap.xml too. Search engines index neither.

Social previews

Every page has Open Graph and Twitter tags. BunStack chooses the image in this order:

  1. the page's OG image from the designer
  2. the product's first image or the category's image
  3. the home page's OG image
  4. the storefront's logo

Product pages also get the price and currency in the tags.

Structured data

PageTypeContents
Home pageOnlineStore, WebSiteThe company data, logo, social links and the search function
Home pageItemListAt most 20 of the products on the home page
ProductProduct, BreadcrumbListPrice per variant, stock status, rating and shipping price
CategoryCollectionPage, BreadcrumbListAt most 20 of the category's products
  • Stock status is InStock, OutOfStock or PreOrder.
  • The rating is the average of approved reviews.
  • The shipping price is the cheapest active shipping method to the home country. It becomes 0 when the product's price reaches the free-shipping threshold. Store pickup does not count.
  • The price is valid for 30 days ahead in the data.
  • The data does not include right of withdrawal, return policy or handling time.

See also