All docs SEO

Set 301 redirects to maintain SEO ranking

Use 301 redirects to route traffic from an old URL to a new URL.

We’re transitioning to a new UI, and are in the process of updating our Webflow University content.

In this lesson, you’ll learn:

  1. When to set 301 redirects
  2. How to redirect a page
  3. How to redirect a folder
  4. How to use escape characters
  5. How to redirect an entire domain

When to set 301 redirects

Important: While Webflow currently doesn’t have a hard limit in place for total redirects, we recommend 1,000 maximum as best practice. Each redirect rule is uploaded to a site’s manifest.json file, which provides site information to visitors’ browsers. As the manifest file grows, there’s more data for browsers to download. For the best SEO and site performance, use wildcard redirects where possible, which minimizes the total number of redirect rules. 

301 redirects are useful for permanently routing traffic from an old path to a new URL — for example, when you:

A diagram of an old URL redirecting to a new URL. Two black squares with an arrow in between them. The words Old URL are on the left square and New URL are on the right square.

When an old URL is replaced with a new URL, your old URL may still be visible in search results, referenced in a blog post or a forum post, bookmarked, or printed on business cards or other materials. Anyone who visits the old URL will be led to a 404 page — but if you set up a 301 redirect, site visitors visiting the old URL will be redirected to the specified new URL.

Google will eventually index your new site structure and old URLs will get updated. However, 301 redirects are a best practice, especially if you want to maintain ranking power from the old URL.

There are other types of redirects — such as 302 redirects, which indicate a temporary relocation — but 301 redirects are best used if you need to permanently route incoming traffic to a new URL.

Note: 301 redirects are relative to your root domain and won’t apply to localized slugs or subdirectories. For example, if you’d like both /old-url and /es/old-url to redirect to /new-url, you’d need to set these up as two separate redirect rules.

How to redirect a page

You can permanently redirect old pages or entire folders of pages to new locations in your Webflow site. To set a 301 redirect:

  1. Go to Site settings > Publishing > 301 redirects
  2. Enter the old URL in the Old path field (e.g., /old-url)
  3. Enter the new URL in the Redirect to path field (e.g., /entirely/new-url/structure)
  4. Click Add redirect path
  5. Publish your site

Now, you can test the redirect by entering the old URL in a new browser tab. It should redirect to the new URL. Learn more about writing redirect URLs.

Important: To redirect an existing static page on your Webflow site to a new URL, you’ll need to delete or save the page as a draft, or change its slug before setting the redirect. To redirect an existing Collection item page on your Webflow site to a new URL, you’ll need to archive, delete, or unpublish the item, save it as a draft, or change its slug before setting the redirect.

How to redirect a folder

To redirect the contents of a folder — whether you’re redirecting to a single page or multiple pages — you’ll need to use capture groups.

To get started with a basic folder redirect to multiple pages:

  1. Go to Site settings > Publishing tab > 301 redirects
  2. Enter a URL with a capture group (.*) in the old URL structure in the Old path field (e.g., /oldfolder/(.*))
  3. Enter a URL with a target path %1 in the new URL structure in the Redirect to path field (e.g., /entirely/new-url/structure/%1)

You can add multiple capture groups to create more complex redirect rules. For example, /blogs/(.*)/(.*) can be redirected to /articles/%1/%2.

Wildcard redirect examples

Let’s say you want to redirect multiple pages in a folder to a single URL — for example, to point domain.com/collections/women, domain.com/collections/men, and domain.com/collections/children all to domain.com/collections. Assuming domain.com is the domain connected to your Webflow site, you’d write this redirect as follows:

Or, let’s say you want to redirect all pages with a URL structure like /domain.com?category=food&post=pie to /blog/food/pie — i.e., redirect multiple pages to multiple URLs.

You might have categories like “music,” “travel,” and “food,” and posts like “beyonce,” “london,” and “pie.” These are your variables. In the URL above, “food” and “pie” are the variables. To make these variable changes, you’ll need to call out these variables with capture groups, which are written as (.*). For example, you’d need to write this redirect as follows:

In the example above, %1 refers to the first capture group, and %2 refers to the second. With this wildcard redirect in place:

How to use escape characters

You’ll need to escape the following special characters in all Old path URLs and URLs with wildcards by using the % symbol before the character:

For example, /old-folder/(.*) needs to be written as /old%-folder/(.*) in order to function as a redirect.

Let’s say you want to redirect mysite.com?category=food to mysite.com/blog/food. You’ll need to write your redirect as follows:

The % signs before the ? and = are required to make the redirect work properly.

Note: You only need to escape characters in the old path — you don’t have to escape characters in the new redirect path.

How to redirect an entire domain

To redirect one domain to another:

  1. Connect both old and new domains to your site
  2. Set the new domain as the default
  3. Publish your site
Load more

哆哆女性网磁力反应釜周易起名周易网周易免费生辰八字起名取名朱姓男孩起名四个字制作网站多长时间五棵松起名苏格拉底名言高端网站建设要迅游加速器海外版属相牛孩子起名长沙seo顾问取名起名大全评分网免费养生气功强壮功用成语给男宝宝起名字跟婴儿起名字双鸭山建设网站怎么做好推广营销周易超市起名定制型网站制作专业设计网站有哪些银河追缉令有关起公司名字周易改名字大全免费给饭馆起名大全校园网站设计素材周易八字测名字算命打分朝花夕拾读后感小引给店起名字大全免费网站设计公司广州小孩子起名周易淀粉肠小王子日销售额涨超10倍罗斯否认插足凯特王妃婚姻不负春光新的一天从800个哈欠开始有个姐真把千机伞做出来了国产伟哥去年销售近13亿充个话费竟沦为间接洗钱工具重庆警方辟谣“男子杀人焚尸”男子给前妻转账 现任妻子起诉要回春分繁花正当时呼北高速交通事故已致14人死亡杨洋拄拐现身医院月嫂回应掌掴婴儿是在赶虫子男孩疑遭霸凌 家长讨说法被踢出群因自嘲式简历走红的教授更新简介网友建议重庆地铁不准乘客携带菜筐清明节放假3天调休1天郑州一火锅店爆改成麻辣烫店19岁小伙救下5人后溺亡 多方发声两大学生合买彩票中奖一人不认账张家界的山上“长”满了韩国人?单亲妈妈陷入热恋 14岁儿子报警#春分立蛋大挑战#青海通报栏杆断裂小学生跌落住进ICU代拍被何赛飞拿着魔杖追着打315晚会后胖东来又人满为患了当地回应沈阳致3死车祸车主疑毒驾武汉大学樱花即将进入盛花期张立群任西安交通大学校长为江西彩礼“减负”的“试婚人”网友洛杉矶偶遇贾玲倪萍分享减重40斤方法男孩8年未见母亲被告知被遗忘小米汽车超级工厂正式揭幕周杰伦一审败诉网易特朗普谈“凯特王妃P图照”考生莫言也上北大硕士复试名单了妈妈回应孩子在校撞护栏坠楼恒大被罚41.75亿到底怎么缴男子持台球杆殴打2名女店员被抓校方回应护栏损坏小学生课间坠楼外国人感慨凌晨的中国很安全火箭最近9战8胜1负王树国3次鞠躬告别西交大师生房客欠租失踪 房东直发愁萧美琴窜访捷克 外交部回应山西省委原副书记商黎光被逮捕阿根廷将发行1万与2万面值的纸币英国王室又一合照被质疑P图男子被猫抓伤后确诊“猫抓病”

哆哆女性网 XML地图 TXT地图 虚拟主机 SEO 网站制作 网站优化