How can I redirect dynamic CMS content with unwanted extensions in Webflow?

Published on
September 22, 2023

To redirect dynamic CMS content with unwanted extensions in Webflow, you can take advantage of Webflow's site-wide 301 redirect feature and advanced URL filtering options. Here's a step-by-step guide:

  1. Log in to your Webflow account and select the project where you want to set up the redirects.

  2. Click on the website's domain name at the top of the Designer panel, or go to Project Settings > Hosting.

  3. In the Hosting tab, scroll down to the 301 Redirects section.

  4. Click on "Add Redirect" to create a new redirect rule.

  5. In the "From" field, enter the URL you want to redirect from. This should include the unwanted extension. For example, if you want to redirect "example.com/blog/article.html" and "/blog/article" is the correct URL, enter "/blog/article.html" in the "From" field.

  6. In the "To" field, enter the desired URL without the unwanted extension. In our example, you would enter "/blog/article" in the "To" field.

  7. Select the appropriate redirect type. In most cases, you'll want to choose "301 Permanent Redirect" as it tells search engines that the content has permanently moved.

  8. Click on "Save Redirect" to save the rule.

  9. Repeat the process for any other dynamic CMS content URLs that have unwanted extensions.

By setting up these 301 redirects, you ensure that visitors and search engines are automatically redirected from the unwanted URL with the extension to the correct URL without the extension. This helps maintain your site's SEO and ensures a seamless user experience.

Additional Tips:

  • Be sure to test the redirects by entering the unwanted URL in your browser and confirming that it redirects to the correct URL.

  • Regularly check your site for any broken redirects by resubmitting sitemaps to search engines and monitoring your site's crawl errors.

Example sitemap submission:

<?xml version="1.0" encoding="UTF-8"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">  <url>    <loc>http://example.com/about-us.html</loc>  </url>  <url>    <loc>http://example.com/blog/article.html</loc>  </url>  ...</urlset>

Common questions users may search for:

  1. How do I redirect dynamic CMS content in Webflow?
  2. What is a 301 redirect in Webflow?
  3. Can Webflow automatically redirect URLs with unwanted extensions?