When managing a growing website, URL structures often need to evolve – old paths become outdated, new organizational patterns emerge, and content hierarchies shift. Instead of creating individual redirects for each changed URL, Webflow's wildcard redirects provide a powerful pattern-matching system that can handle entire sections of your site with single, maintainable rules. This approach not only saves time but also ensures consistent URL handling while preserving your site's SEO equity.
Accessing wildcard redirects is straightforward – they live alongside regular redirects in your Site Settings > Publishing section. But unlike their simpler cousins that handle single URL changes, wildcards pack the power to transform entire sections of your site with just a few carefully crafted rules.
Wildcard redirects are like smart forwarding rules for your website's URLs. Instead of creating individual redirects for hundreds of pages, you can set up a single rule that handles multiple URLs following a similar pattern.
For example, instead of creating separate redirects for:
In this case, a single wildcard redirect from /old-blog/(.*) to /blog/%1 would systematically handle all these URLs. The (.*) captures whatever comes after "old-blog/" (like "post-1", "post-2", etc.), and %1 places that same text in the new URL structure. One rule, and your entire blog migration is handled – clean, efficient, and SEO-friendly.
Webflow's wildcard redirect system uses a simplified pattern matching approach that's powerful yet easy to use. Let's break down exactly how it works:
Capture Groups ((.*))
Reference Numbers (%1, %2, etc.)
Special characters in Webflow redirects
Webflow requires you to escape certain special characters with %:
How pattern matching works
When someone visits your site, Webflow:
For example, with this rule:
Old path: /old-blog/(.*)
Redirect to: /blog/%1
When someone visits /old-blog/summer-tips:
Let's explore 8 of the most practical wildcard redirect patterns you'll likely need in Webflow. From simple blog migrations to complex query parameter transformations, these patterns solve real-world URL restructuring challenges with simple, yet scalable solutions that you can implement right away.
When you're migrating your blog to a new structure or consolidating content, you often need to maintain the same post URLs while changing the parent folder. This is especially common when moving from platforms like WordPress or Medium to Webflow, or when rebranding your blog section. Instead of creating hundreds of individual redirects for each blog post, you can use a single wildcard pattern:
Old path: /old-blog/(.*)
Redirect to: /blog/%1
This smart wildcard redirect pattern ensures that:
Many older websites, especially those built with PHP or traditional CMSs, use query parameters in their URLs. These URLs are not only less friendly for users but can also impact your SEO. This pattern helps you transform those messy parameter-based URLs into clean, modern paths that are both user and search-engine friendly:
Old path: /products%?category%=(.*)
Redirect to: /shop/%1
This smart wildcard redirect pattern ensures that:
As your content strategy evolves, you might want to merge several content sections into a unified newsroom or media center. This is particularly useful when consolidating different types of company updates, news, and announcements that previously lived in separate sections:
Old path: /(news|updates|press|announcements)/(.*)
Redirect to: /newsroom/%2
This smart wildcard redirect pattern ensures that:
WordPress and many other platforms use a year/month folder structure for blog posts. When moving to Webflow, you might want to simplify this structure while maintaining the date information in the URL:
Old path: /blog/(.)/(.)/(.*)
Redirect to: /blog/%1-%2-%3
This smart wildcard redirect pattern ensures that:
If you're migrating from an older database-driven system that uses ID-based URLs with title parameters, you'll want to switch to cleaner, SEO-friendly URLs. This pattern helps you maintain all your old links while moving to a more modern URL structure:
Old path: /item%?id%=([0-9]+)%&title%=(.*)
Redirect to: /products/%2
This smart wildcard redirect pattern ensures that:
Many older websites include file extensions like .html or .php in their URLs. Modern web architecture prefers clean URLs without extensions. This pattern helps you remove these technical artifacts while maintaining all your existing links:
Old path: /resources/(.*).(html|php)
Redirect to: /resources/%1
This smart wildcard redirect pattern ensures that:
When redesigning your site, you might want to consolidate multiple related pages into a single, comprehensive page. This is common for company information pages where content previously spread across multiple pages now works better as sections on a single page:
Old path: /company/(.*)
Redirect to: /about-us
This smart wildcard redirect pattern ensures that:
Complex category hierarchies can sometimes become unwieldy. This pattern helps you flatten your blog structure by removing unnecessary category depth while maintaining the specific topic URLs:
Old path: /blog/category/(.)/(.)
Redirect to: /blog/%2
This smart wildcard redirect pattern ensures that:
Implementing wildcard redirects in Webflow takes just a few clicks. Whether you're redirecting a single section or restructuring your entire site architecture, here's the simple process to get your redirects working:
1. Access your redirect settings: Navigate to Project Settings > Publishing > 301 Redirects in your Webflow project dashboard.
2. Add your wildcard redirect: Enter your old path pattern (e.g., /old-blog/(.*) ) and your new destination path (e.g., /blog/%1) based on your specific redirection needs.
3. Test on your staging domain: Publish to your Webflow staging domain (yoursite.webflow.io) and verify the redirects work as expected by testing a few old URLs.
4. Publish live with confidence: Once you've confirmed the redirects are working correctly on staging, publish to your live domain to make the changes effective for all visitors.
Remember, while wildcard redirects are powerful, they're just one piece of the puzzle in maintaining a healthy Webflow website. They work best as part of a thoughtful URL structure and content organization strategy.
Need help setting up complex redirect patterns or planning a major site restructure? Our team of Webflow experts is here to help ensure your site's URLs are working as hard as you are. Your get in touch with our Webflow agency and we will be happy to assist you!
By implementing wildcard redirects correctly, you're not just managing URLs - you're ensuring a smooth experience for your visitors while protecting your site's hard-earned SEO value. That's something worth redirecting your attention to (ba dum tsss 🥁)!
Learn how to add animated number counters to your Webflow site. This step-by-step guide explains how to do it in 5 minutes or less.
Learn how to add a copy URL button to your Webflow site. Step-by-step guide for implementing easy page sharing without plugins or code.
Learn how to add copy-to-clipboard button to your Webflow site in 5 minutes or less.