Webflow sync, pageviews & more.
NEW

How can I fix automatic redirect issues in Webflow when changing page slugs within a folder?

TL;DR
  • Check Webflow’s auto-generated redirects in Project Settings → Publishing Tab and remove or adjust any incorrect ones.
  • Review 301 Redirects in Project Settings → Hosting for conflicts and manually add necessary redirects.
  • Republish your site to clear cache and test in an incognito window to ensure changes take effect.
  • Verify that no duplicate slugs exist in other pages, collections, or folders to prevent conflicts.

If you change a page slug within a folder in Webflow, it may create automatic redirects that cause unexpected behavior. Here’s how to fix the issue:

1. Check Webflow’s Auto-Generated Redirects

  • Go to Webflow → Project Settings → Publishing Tab and look for any automatically created redirects.
  • If Webflow has created a redirect linking the old page slug to the new one, you may need to manually adjust or remove it.

2. Review the Redirect Settings in Webflow

  • Navigate to Project Settings → Hosting → 301 Redirects.
  • Look for existing redirects that might be causing unintended behavior, particularly for the old slug.
  • If incorrect, delete or modify them as needed.

3. Manually Add a Correct 301 Redirect if Necessary

  • If necessary, add a manual 301 redirect.
  • Format: old-folder/old-slug → new-folder/new-slug
  • Make sure to test the redirect to ensure it’s working as expected.

4. Clear Webflow’s Published Site Cache

  • Republish your site after making changes.
  • If issues persist, try an incognito browser window to ensure you’re not seeing a cached version.

5. Check for Conflicting URLs

  • If another page, collection item, or folder has the same slug, Webflow may automatically create conflicts.
  • Ensure no duplicated slugs exist elsewhere in your project.

6. Test in an Incognito Window or Different Browser

  • Open your website in an incognito window (Chrome: Ctrl + Shift + N or Cmd + Shift + N on Mac).
  • If the redirect still occurs, double-check if the issue is still present or is browser-cached.

Summary

When changing a page slug within a folder, Webflow may auto-generate redirects, potentially causing unwanted behavior. Check Webflow’s 301 Redirects in Project Settings → Hosting, manually adjust or remove any incorrect ones, and republish your site to clear cached settings. If issues persist, check for conflicting URLs or test in an incognito window.

Rate this answer

Other Webflow Questions