Black Friday Black Friday SALE: 40% off every resource until December 1. Shop the sale

Sitemap, robots.txt and redirects

Build the XML sitemap, write robots.txt rules and redirect old addresses.

On this page

Sitemap#

With Enable XML Sitemap on, the sitemap is at /sitemap.xml. It is cached for Sitemap Cache Duration (minutes), 60 by default.

It contains:

  • your own entries from SEO → Sitemap Entries,
  • posts of the Blog extension, with Include Blog Posts in Sitemap on,
  • public pages found in the routes, with Auto-Scan Routes for Sitemap on. Routes to Exclude from Scan keeps routes out, one pattern per line. By default admin.*, api.*, auth.*, filament.* and livewire.* are excluded.

An entry under Sitemap Entries has a URL (absolute), a Change Frequency, a Priority between 0.0 and 1.0, a Last Modified date and an Order.

Submit https://your-site/sitemap.xml in Google Search Console.

Robots.txt#

With Enable Custom Robots.txt on, the extension serves /robots.txt. It uses Default Robots.txt Content and the rules under SEO → Robots.txt Rules:

Field What it does
User Agent For example *, Googlebot or Bingbot
Allow Paths One path per line
Disallow Paths One path per line
Crawl Delay Seconds between requests
Sitemap URL Added to the file

Remove the public/robots.txt of Paymenter first, see Quick setup.

Redirects#

Send old addresses to new ones under SEO → Redirects.

Field What it does
From URL The old path, for example /old-page
To URL The new address, relative or absolute
Redirect Type 301 or 308 for permanent, 302 or 307 for temporary. 307 and 308 keep the request method.
Active Turns the redirect on or off
Notes Internal notes

Use 301 for pages that moved for good, so search engines move their ranking to the new address.

Last updated

Still stuck? Open a ticket on the help page or ask in Discord. Mention your version and what you tried.