Search and AI answers
Redirects and sitemaps
Send old addresses to new ones, import a list, and hand search engines the sitemap.
- 3 minute read
- 3 interactive walkthroughs
- For everyone responsible for a site long enough to have history
Redirects#
A redirect sends an old address to a new one, so a link from a newsletter or a search result still works. Each one names the old address, the new one and a type: Permanent for a page that moved for good, Temporary for an experiment or a seasonal swap.
Redirects are the right answer whenever a page has been public at another address. Fixing the link is better where you control it; a redirect catches everyone else.
Redirects
Import redirectsStep 1 of 5
The list
Every redirect that is live, with its type. Editable and removable at any time.
Reduced motion is on, so the walkthrough waits for you. Use the arrows or pick a step.
- 1Open the Redirects tab.
- 2Enter the old address and the new one, with their leading slashes.
- 3Choose Permanent and save.
Importing a list#
When there are many, Import redirects takes a pasted CSV: old address, new address, and optionally the status and a language for a multilingual site. This is the fastest way to bring a migration's worth of redirects across in one move.
The list shows what is live, and each redirect can be edited or removed. Redirects only matter once the site is published, so a batch can be prepared in draft.
Redirects
Import redirectsStep 1 of 2
Import redirects
For a migration's worth of addresses, paste a CSV: old, new, and optionally the status and a language.
Reduced motion is on, so the walkthrough waits for you. Use the arrows or pick a step.
The sitemap#
The sitemap is a file listing the site's public pages for search engines: sitemap.xml at the site address, kept up to date automatically and generated per website address.
Submit it once in Google Search Console and Bing Webmaster Tools; from then on it is refreshed rather than resubmitted. It is also linked from robots.txt, which search engines read first.
Business details
Pages in search
SEO checks
ProProducts and categories
Search products and categoriesCategory ALooks goodProduct ANo descriptionProduct BHidden from search enginesService area pages (Pro)
Search engines
Step 1 of 2
sitemap.xml
Generated and kept up to date at the site address. Copy it into Google Search Console and Bing Webmaster Tools once.
Reduced motion is on, so the walkthrough waits for you. Use the arrows or pick a step.
Before you continue: A redirect to a page that does not exist achieves nothing. Check the new address opens the right page before saving.
Common questions
Do redirects slow the site down?
A little, per redirected visit only, which is the normal cost of keeping old links alive.
What is the difference between the sitemap and llms.txt?
The sitemap is for search engines. llms.txt and the Markdown files are for AI assistants. Cubesites produces both.
Related guides
Something here out of date, or a step that did not match what you see? Tell us and we will correct the guide. Never send a password or an API token.