Skip to content

Commit 762b7ff

Browse files
committed
Add robots.txt and redirect blogs to /
1 parent 7bcd660 commit 762b7ff

File tree

3 files changed

+19
-2
lines changed

3 files changed

+19
-2
lines changed

docs/troubleshooting/push-notifications.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ Push notifications play a vital role in mobile apps, letting you connect with yo
1111

1212
<img src="./push-notification-assets/push-notifications-ff.png" alt="Firebase Console" />
1313

14-
:::tip Using CodeMagic? [Skip ahead!](https://mdxjs.com/playground/)
15-
14+
:::tip
15+
Using CodeMagic? [Skip ahead!](https://mdxjs.com/playground/)
1616
:::
1717

1818
### Without CodeMagic

firebase.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,16 @@
1313
}
1414
],
1515
"redirects": [
16+
{
17+
"source": "/blog/**",
18+
"destination": "/",
19+
"type": 301
20+
},
21+
{
22+
"source": "/troubleshooting/**",
23+
"destination": "/",
24+
"type": 301
25+
},
1626
{
1727
"source": "/getting-started/dashboard",
1828
"destination": "/",

static/robots.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
User-agent: *
2+
Disallow: /tags/
3+
Disallow: /blog/
4+
Disallow: /troubleshooting/
5+
Allow: /
6+
7+
Sitemap: https://docs.flutterflow.io/sitemap.xml

0 commit comments

Comments
 (0)