Blog Post

Jan 02, 2023

URL Redirect Now Supports Dynamic Content Using Wildcards and Variables

The URL redirect now allows redirects to dynamic pages, store products and blog posts, thanks to the new support of wildcards and variables. This offers a simpler way to define URL redirect rules more efficiently, and it lets you redirect a bulk of URLs using just one rule.

Hello wildcards, pleased to redirect you

Wildcards are what allows you to define the URL rule based on its  structure, instead of setting up similar URLs manually one by one. Wildcards are represented with a single asterisk symbol (*) that matches any data between the current slashes. For example, /category/*/home could redirect to /category/abc/home.


Go even further with variables

Variables define a URL rule that is the same for many pages with the same structure, but with different content. They should be added between the source URL and the target URL. For example, this is helpful when redirecting all store products from one format to another. 


Variables are defined within curly brackets {} both in the source URL rule and in the target rule. It is important to use
the exact same variable spelling in both the source URL and target rules.

For example: If you have an old store product URL of /product/p-23245-umbrella and the new URL is /product/umbrella, the source rule would be /product/p-*-{productname} and the target rule URL would be /product/{productname}.



Now, if you want to move older blogs to Duda while keeping the SERP ranking, now you can do it quickly. Just add one URL rule and all the relevant URLs will magically follow.

For more detailed how-to instructions, and to learn how to manually set up URL redirects, visit this handy guide.



LATEST POSTS

Three squares with icons on them and the words `` more design power ''.
By Liron Hilb Horev 02 May, 2024
Alternative image on-hover, plus 3 more updates you wanted.
A blue background with the words seo overview on it.
By Tal Levi 30 Apr, 2024
A new way to instantly see and solve SEO issues, built right into the platform.
A picture of two cards with the words ``6 new store updates '' written on it.
By Ofri Baram 25 Apr, 2024
Sync the catalog with Google, add an image or text block to product pages, and more.
Show More
Proudly built on the Duda Responsive Website Builder
Share by: