Streaming live at 10am (PST)

Is this the way to do wildcard redirects?

I have read but Im still a bit confused.

In a WordPress site that I’m moving to Webflow, my posts urls start with the year, for example:

So, I want to redirect all my posts under… to

Is this the correct way to do it?
Old path: /2020/(.*)
Redirect to path: /blog/%1

Any help will be greatly appreciated.

Yes that’s correct. Just make sure that the post slug stays the same as it was on WordPress, or it won’t redirect

Thanks for your reply. A little confirmation is reassuring :grin:

I just realize that I probably need to keep the “2020” in the new slug.

Because the current WordPress url is like this:

So, the new webflow url should be like this:

Old path: /2020/(.*)
Redirect to path: /blog/2020/%1

Am I on the right track?

Yeah that seems right.

Hi everyone,

I’m facing a similar case, though it seems slightly more complex. The slugs of my blog posts in WordPress all start with the full date. E.g.,

In Webflow, this will become How should I set up a 301 redirect for this?

Thanks in advance for your help!