Webflow sync, pageviews & more.
NEW

Is it possible to use a backslash in a URL on Webflow? If not, should I do 301 redirects from URLs with backslashes to URLs without backslashes if the marketing agency already did redirects?

TL;DR
  • Webflow does not support backslashes (\) in URLs; always use forward slashes (/).
  • If a marketing agency set up redirects, test them and confirm they work properly.
  • If redirects are incorrect, set up 301 redirects in Webflow by entering the incorrect URL (using / instead of \) and specifying the correct destination, then publish the changes.

Webflow does not support backslashes (\) in URLs. URLs should always use forward slashes (/), as backslashes are not valid URL characters.

1. Why Webflow Does Not Support Backslashes

  • Backslashes are not valid in URLs according to web standards.
  • Webflow automatically converts or ignores backslashes if they are entered.
  • Most browsers and web servers do not interpret \ as a path separator.

2. Should You Do 301 Redirects?

If a marketing agency already set up redirects, verify whether they work correctly:

  • Test the redirects by entering URLs with backslashes and checking if they resolve correctly to the intended destination.
  • If their existing redirects correctly route traffic, you don't need to add your own.
  • If not, set up 301 redirects in Webflow from any incorrect backslash URLs (with a / instead) to valid paths.

3. How to Set Up 301 Redirects in Webflow

  • Go to Webflow Project Settings > Hosting > 301 Redirects.
  • In the “Old Path” field, enter the incorrect URL (using / instead of \).
  • In the “Redirect to” field, enter the correct destination URL.
  • Click Add Redirect and Publish your site to apply the changes.

Summary

Webflow does not support backslashes (\) in URLs, so URLs should always use forward slashes. If a marketing agency has already set up redirects, verify if they work properly. If they don’t, set up 301 redirects in Webflow for any incorrect paths.

Rate this answer

Other Webflow Questions