Skip to content

Commit 4df361e

Browse files
saihajbenface
andauthored
feat: add redirects and update path for arbitrum faq (#416)
* feat: move arbiturm Faq to a dropdown * remove unused * change path * Update nginx.conf Co-authored-by: Benoît Rouleau <benoit.rouleau@icloud.com> * Update website/next.config.js Co-authored-by: Benoît Rouleau <benoit.rouleau@icloud.com> * Revert --------- Co-authored-by: Benoît Rouleau <benoit.rouleau@icloud.com>
1 parent 35dd628 commit 4df361e

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

nginx.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ http {
8484
rewrite ^/docs/([a-zA-Z][a-zA-Z])/supported-networks/cosmos/$ $scheme://$http_host/docs/$1/cookbook/cosmos/ permanent;
8585
rewrite ^/docs/([a-zA-Z][a-zA-Z])/supported-networks/near/$ $scheme://$http_host/docs/$1/cookbook/near/ permanent;
8686
rewrite ^/docs/([a-zA-Z][a-zA-Z])/developing/defining-a-subgraph/$ $scheme://$http_host/docs/$1/developing/creating-a-subgraph/ permanent;
87+
rewrite ^/docs/([a-zA-Z][a-zA-Z])/arbitrum-faq/$ $scheme://$http_host/docs/$1/arbitrum/arbitrum-faq/ permanent;
8788

8889
# Temporary redirects (302)
8990
rewrite ^/docs/en/substreams/$ $scheme://$http_host/docs/en/substreams/README/ redirect;

website/next.config.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,11 @@ export default withNextra({
5252
destination: '/en/substreams/README/',
5353
permanent: false,
5454
},
55+
{
56+
source: '/en/arbitrum-faq/',
57+
destination: '/en/arbitrum/arbitrum-faq/',
58+
permanent: true,
59+
},
5560
{
5661
source: '/en/firehose/',
5762
destination: '/en/firehose/README/',

0 commit comments

Comments
 (0)