diff --git a/next.config.js b/next.config.js index 2d4fbade..e694e328 100644 --- a/next.config.js +++ b/next.config.js @@ -142,6 +142,18 @@ const permanentRedirectArray = [ "/price-feeds/use-real-time-data/:path((?!pull-integration(?:/|$)).*)", "/price-feeds/use-real-time-data/pull-integration/:path", ], + [ + "/price-feeds/use-real-time-data", + "/price-feeds/use-real-time-data/pull-integration", + ], + [ + "/price-feeds/core/use-real-time-data/:path((?!pull-integration(?:/|$)).*)", + "/price-feeds/core/use-real-time-data/pull-integration/:path", + ], + [ + "/price-feeds/core/use-real-time-data", + "/price-feeds/core/use-real-time-data/pull-integration", + ], ["/benchmarks", "/price-feeds/use-historic-price-data"], [ diff --git a/pages/price-feeds/core/derive-cross-rate.mdx b/pages/price-feeds/core/derive-cross-rate.mdx index ab1b9695..64ac75c6 100644 --- a/pages/price-feeds/core/derive-cross-rate.mdx +++ b/pages/price-feeds/core/derive-cross-rate.mdx @@ -91,7 +91,7 @@ You may find these additional resources helpful. #### How to use real-time data in EVM contracts -The [How to use real-time data in EVM contracts](./use-real-time-data/evm) guide provides a step-by-step guide on how to use real-time data in EVM contracts. +The [How to use real-time data in EVM contracts](./use-real-time-data/pull-integration/evm) guide provides a step-by-step guide on how to use real-time data in EVM contracts. #### Price Feed IDs diff --git a/pages/price-feeds/core/price-feeds.mdx b/pages/price-feeds/core/price-feeds.mdx index e625f949..1201cdf1 100644 --- a/pages/price-feeds/core/price-feeds.mdx +++ b/pages/price-feeds/core/price-feeds.mdx @@ -29,7 +29,7 @@ Price feeds also have different IDs in the Stable and Beta channels. On Solana, each feed additionally has a collection of **price feed accounts** containing the feed's data. The addresses of these accounts are programmatically derived from the feed id and a shard id, which is simply a 16-bit number. -See [How to Use Real-Time Data on Solana](./use-real-time-data/solana#price-feed-accounts) for more information on price feed accounts. +See [How to Use Real-Time Data on Solana](./use-real-time-data/pull-integration/solana#price-feed-accounts) for more information on price feed accounts. ## Feed Ids diff --git a/pages/price-feeds/core/use-real-time-data/push-integration.mdx b/pages/price-feeds/core/use-real-time-data/push-integration.mdx index 5a56ed69..428aefa4 100644 --- a/pages/price-feeds/core/use-real-time-data/push-integration.mdx +++ b/pages/price-feeds/core/use-real-time-data/push-integration.mdx @@ -58,7 +58,7 @@ contract SomeContract { ### SVM Developers building on SVM chains can use Price Feed Accounts to integrate Pyth using push integration. -The [SVM guide](../use-real-time-data/solana#price-feed-accounts) explains in detail how to integrate Pyth using Price Feed Accounts. +The [SVM guide](./pull-integration/solana#price-feed-accounts) explains in detail how to integrate Pyth using Price Feed Accounts. ### Aptos