.html
URLs causing 404 errors by testing both versions of blog post links./blog-post.html
to /blog-post
./blog/(.*).html
→ /blog/%1
) for multiple affected blog posts.A 404 error occurs when a requested page cannot be found. If you're trying to redirect from a .html
version of a blog post URL to the normal version in Webflow, you need to set up a 301 redirect in your project settings. Here’s how to fix it:
.html
suffix (e.g., /blog-post.html
instead of /blog-post
)..html
version..html
(e.g., /blog-post.html
)..html
(e.g., /blog-post
)..html
for All Blog Posts (Optional)/blog/(.*).html
/blog/%1
.html
automatically redirects to its Webflow-friendly URL..html
blog post URL and confirm it redirects properly to the version without .html
.Add a 301 redirect in Webflow’s settings to redirect .html
blog URLs to their correct paths. If multiple blog posts are affected, use a wildcard redirect for efficiency. Finally, publish and test to ensure it works correctly.