PageHaul
How-to3 min read

How to set up redirects on Squarespace with URL mappings

Add 301 redirects on Squarespace by pasting them into URL mappings: where to find it, the line format, the 400 KB limit and common mistakes.

Updated First published

On this page

Squarespace doesn't take a file of forwards that send old links to new pages (a redirects file / 301 redirects). Instead, you paste your redirects as lines of text into a box called URL mappings. Each line names the old address, the new address and the type of redirect. Once you know the format, a whole list goes in at once, whether you're an agent bringing a bio, blog and neighborhood guides over from a brokerage site or a team moving off a real estate website platform.

Everything here is from Squarespace's URL mappings guide, as of November 2026.

Where is URL mappings in Squarespace?#

Open Settings → Developer tools → URL mappings. You'll see a large text box. Any redirects already set up appear there as lines of text.

What format does each redirect line need?#

Every line has four parts: the old address, an arrow, the new address, and the redirect type.

/old-address -> /new-address 301
Part Rule
Old address The path only, starting with /. No domain.
Arrow A hyphen followed straight by a greater-than sign: ->. No space between them.
New address The path of the new page, such as /about. Point it at a page that's enabled.
Type 301 (permanent) or 302 (temporary). Use 301 for a move.

Squarespace says "only correctly formatted redirects will save" and that you can't add other text, such as notes, to the box. It also says to "keep the same capitalization as your URLs."

How do I turn a spreadsheet into redirect lines?#

If your redirect map is a spreadsheet with old addresses in column A and new ones in column B, add a formula in column C:

=A2&" -> "&B2&" 301"

Fill it down, copy column C and paste it into URL mappings. Leave out the header row.

PageHaul doesn't have a Squarespace option in its CSV for your new site export, because Squarespace can't import pages or posts from a CSV. Pick Any other site instead: its redirects.csv lists each old and new address in two columns, ready for the formula above.

How many redirects can Squarespace hold?#

Squarespace says "the URL mappings field has a limit of 400 KB, which is usually around 2500 redirect lines."

For blog posts, events and other collection items that keep the same name but move folder, Squarespace offers a shortcut. The [name] variable stands for each item's address, so one line covers a whole collection:

/blog/[name] -> /journal/[name] 301

What rules trip people up?#

  • The old page must be gone. "Redirects only work if the page you're redirecting from has been deleted or disabled." If an old page still exists at that address, Squarespace shows the page instead.
  • Order matters. Squarespace reads the box from top to bottom, so put specific redirects above broad ones like the [name] lines.
  • Some characters don't work. Squarespace says most redirects "can't use ?, &, or # symbols."
  • No home page redirects. You can't redirect away from /.
  • No image or file redirects. Squarespace says image and file addresses can't be redirected.
  • A loop shows a 404. If a visitor triggers the same redirect more than once in two minutes, Squarespace shows a "not found" page. When testing, wait a couple of minutes between tries of the same address.

How do I test my Squarespace redirects?#

After saving, visit five or ten old addresses, including your busiest pages, and check each lands on the right page. Then watch Google Search Console for "not found" errors over the next few weeks. Our guide to keeping your Google rankings when you move covers the other checks.

Where to go next#

If you're moving away from Squarespace, read leaving Squarespace, Squarespace to WordPress and what the Squarespace export includes. The changing brokerages page and the page for agents show how PageHaul helps.

Step by step

  1. Write your redirect lines

    In a text editor, write one redirect per line in the form /old-address -> /new-address 301.

  2. Open URL mappings

    In Squarespace, open Settings, then Developer tools, then URL mappings.

  3. Paste and save

    Click into the text box, paste your lines below any that are already there, and click Save.

  4. Remove or disable the old pages

    A redirect only works once the page at the old address is deleted or disabled, so remove any old page still sitting there.

  5. Test

    Visit a few old addresses in your browser and check each lands on the right new page.

Common questions

Can I upload a CSV of redirects to Squarespace?

No. As of November 2026, Squarespace takes redirects as typed or pasted text in URL mappings. Turn a spreadsheet into text lines first, then paste them in.

How many redirects can Squarespace hold?

Squarespace says the URL mappings field has a limit of 400 KB, which is usually around 2,500 redirect lines. Shorter addresses fit more lines.

Can I redirect my Squarespace home page?

No. Squarespace says it isn't possible to redirect away from the home page address, because it's reserved for your homepage.

Why isn't my Squarespace redirect working?

The most common reason is that a page still exists at the old address. Squarespace only follows a redirect once that page is deleted or disabled. Also check the arrow has no space in it and the capital letters match.

Who this is for