Troubleshoot Webflow

404s and broken links after moving a site to Webflow

Old addresses now return a 404 page. Map each old URL to its new one and add the redirects in Webflow.

Possible issues

  • Search Console shows 404s for pages that used to exist.
  • Old links from other sites and from bookmarks end up on the 404 page.
  • Pages that were ranking previously now show “not found”.
  • A redirect you’ve added doesn’t fire.

Check these in order

Investigate in this order. Usually an issue will be identified within the first couple of steps.

  1. 1

    List the old URLs

    Use the old site’s sitemap, the pages report in Search Console, your analytics and a crawl of the old site. Include any pages that earned links.

  2. 2

    Match each one to a new URL

    Create a two column list of old path and new path. My redirect map builder will generate one in the correct format.

  3. 3

    Check your plan

    301 redirects require a paid Site plan or a site within a Workspace that has a paid Workspace plan.

  4. 4

    Add the redirects

    Head to Site settings > Publishing > 301 redirects. Add them one at a time with the old path and the new path or import a CSV with two columns. Publish them afterwards. The maximum CSV size is 16MB. If any row in the CSV is invalid the import will fail and Webflow will email you a copy with guidance.

  5. 5

    Know that an import replaces everything

    A new CSV import will overwrite all existing redirects. Export the current list first, add your rows to it and import the combined file.

  6. 6

    Use wildcards for folders

    A capture group (.*) in the old path and %1 in the new path will redirect the entire folder. For example: old path /oldfolder/(.*) to new path /entirely/new-url/structure/%1. Webflow recommend wildcards over a multitude of individual rules.

  7. 7

    Escape the literal characters in the old path

    Webflow tells you to put a % in front of the following characters when they appear literally in the old path: %, -, &, *, (, ), =, _, + and ?. So a hyphen in a folder name would be %-. You do not escape the (.*) capture group itself. Nothing needs to be escaped in the new path. Webflow will also strip the trailing slash that’s immediately before a query string prior to matching so you’d write /slug%?param%=value rather than /slug/%?param%=value.

  8. 8

    Mind the order

    Redirects run in the order they were added (oldest first) so specific rules should be added before the broad wildcard rules.

  9. 9

    Clear the way for pages that still exist

    To redirect a page that still exists in Webflow you need to delete it, save it as a draft or change its slug. For a CMS item you’d archive it, delete it, unpublish it, save it as a draft or change its slug.

  10. 10

    Handle languages separately

    Redirects only apply to the root domain. If both /old-url and /es/old-url need to redirect then you’ll need two rules.

  11. 11

    Test and watch

    Open up a sample of the old URLs in a browser after you’ve published and then watch the 404 report in Search Console. Webflow recommend keeping the total number of rules under 1,000 as every rule gets added to the manifest.json file that the visitors’ browsers download.