How do I redirect a URL with a wildcard % to a new URL in Webflow?

Published on
September 22, 2023

To redirect a URL with a wildcard % to a new URL in Webflow, you can utilize the built-in URL Redirects feature. This allows you to define redirect rules based on specific patterns in the URL. Here's how you can achieve this:

  1. Log in to your Webflow account and access the project where you want to create the redirect.

  2. Navigate to the Project Settings by clicking on the gear icon at the top right corner of the designer.

  3. In the Project Settings panel, click on the Hosting tab.

  4. Scroll down to the "URL Redirects" section and click on the "Add Redirect" button.

  5. In the "Old URL" field, enter the pattern of the URL you want to redirect. Make sure to use the wildcard % to represent any characters that may appear in that part of the URL. For example, if you want to redirect all URLs that contain a specific term after a forward slash, you can use "/%".

  6. In the "Destination URL" field, enter the new URL where you want the visitors to be redirected to. This can be a specific page on your website or an external URL.

  7. You can choose whether you want the redirect type to be 301 (permanent) or 302 (temporary). A 301 redirect is recommended for SEO purposes as it informs search engines that the old URL has permanently moved to a new location.

  8. Click on the "Add Redirect" button to save your changes.

  9. Publish your Webflow site by clicking on the Publish button at the top right corner of the designer.

With these steps, any URL matching the pattern specified in the redirect rule will be automatically redirected to the new URL you provided. This wildcard-based redirect capability can be helpful when you have a large number of URLs with similar patterns that need to be redirected.

Additional Questions:

  1. How can I redirect multiple URLs with different wildcard patterns in Webflow?
  2. What is the difference between a 301 and a 302 redirect in terms of SEO?
  3. Can I set up redirects for specific query string parameters in Webflow?