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.
The storefront writes the SEO tags itself.
Where: Settings › Workspace profile, the product, Categories and the designer's page settings.
What you fill in
| Where | Field | Becomes |
|---|---|---|
| Settings › Workspace profile | Legal name, address, email and phone | The company data on the home page |
| The product's DESCRIPTION · SEO card | Meta description (SEO), at most 160 characters | The product page's description |
| Categories › Edit | Search 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 & social | Title, Description, OG image, Canonical, Index | The page's tags. The fields win over the computed values. |
| The designer, the Footer component | Contact and social | The structured data lists the links as the company's profiles |
| Settings › Shipping | Active shipping methods to the home country | The shipping price in the product data |
Title and description
| Page | Title | Description |
|---|---|---|
| Product | “Product name · Shop name” | Meta description (SEO), otherwise the first 160 characters of Short description, otherwise of the description |
| Category | Search 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 page | The 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.txtand/sitemap.xmltoo. Search engines index neither.
Social previews
Every page has Open Graph and Twitter tags. BunStack chooses the image in this order:
- the page's OG image from the designer
- the product's first image or the category's image
- the home page's OG image
- the storefront's logo
Product pages also get the price and currency in the tags.
Structured data
| Page | Type | Contents |
|---|---|---|
| Home page | OnlineStore, WebSite | The company data, logo, social links and the search function |
| Home page | ItemList | At most 20 of the products on the home page |
| Product | Product, BreadcrumbList | Price per variant, stock status, rating and shipping price |
| Category | CollectionPage, BreadcrumbList | At 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.