diff --git a/nginx/includes/redirects.conf b/nginx/includes/redirects.conf index 2b7843ad..b8a65eb3 100644 --- a/nginx/includes/redirects.conf +++ b/nginx/includes/redirects.conf @@ -2,7 +2,7 @@ rewrite "^/docs/category/examples$" "https://developers.stellar.org/docs/smart-c rewrite "^/docs/getting-started/run-rpc$" "https://developers.stellar.org/docs/data/rpc/admin-guide" permanent; rewrite "^/docs/category/tutorials$" "https://developers.stellar.org/docs/smart-contracts/example-contracts" permanent; rewrite "^/docs/tutorials/deploy-to-futurenet$" "https://developers.stellar.org/docs/smart-contracts/getting-started/deploy-to-testnet" permanent; -rewrite "^/fundamentals-and-concepts/faq$" "https://developers.stellar.org/docs/smart-contracts/faq" permanent; +rewrite "^/fundamentals-and-concepts/faq$" "https://developers.stellar.org" permanent; rewrite "^/docs/examples/events$" "https://developers.stellar.org/docs/smart-contracts/example-contracts/events" permanent; rewrite "^/docs/learn/rust-dialect$" "https://developers.stellar.org/docs/learn/encyclopedia/contract-development/rust-dialect" permanent; rewrite "^/docs/advanced-tutorials/liquidity-pool-b6f$" "https://developers.stellar.org/docs/smart-contracts/example-contracts/liquidity-pool" permanent; @@ -26,7 +26,7 @@ rewrite "^/docs/tutorials/stellar-asset-contract" "https://developers.stellar.or rewrite "^/docs/category/migrating-from-evm$" "https://developers.stellar.org/docs/learn/migrate/evm" permanent; rewrite "^/docs/fundamentals-and-concepts/migrating-from-evm(/.*)$" "https://developers.stellar.org/docs/learn/migrate/evm$1" permanent; rewrite "^/docs/reference/releases$" "https://developers.stellar.org/docs/reference/software-versions" permanent; -rewrite "^/docs/fundamentals-and-concepts/faq$" "https://developers.stellar.org/docs/smart-contracts/faq" permanent; +rewrite "^/docs/fundamentals-and-concepts/faq$" "https://developers.stellar.org" permanent; rewrite "^/docs/reference/testnet$" "https://developers.stellar.org/docs/reference/networks" permanent; rewrite "^/docs/fundamentals-and-concepts/(built-in-types|custom-types|fully-typed-contracts)$" "https://developers.stellar.org/docs/learn/encyclopedia/contract-development/types/$1" permanent; rewrite "^/docs/fundamentals-and-concepts/invoking-contracts-with-transactions$" "https://developers.stellar.org/docs/learn/encyclopedia/contract-development/contract-interactions/stellar-transaction" permanent; @@ -47,7 +47,7 @@ rewrite "^/reference/soroban-cli$" "https://developers.stellar.org/docs/tools/de rewrite "^/docs/reference/command-line$" "https://developers.stellar.org/docs/tools/developer-tools#soroban-cli" permanent; rewrite "^/docs/reference/soroban-cli$" "https://developers.stellar.org/docs/tools/developer-tools#soroban-cli" permanent; rewrite "^/docs/reference/data-providers" "https://developers.stellar.org/docs/tools/developer-tools#block-explorers" permanent; -# soroban rpc +# rpc rewrite "^/methods/getTransaction$" "https://developers.stellar.org/docs/data/rpc/api-reference/methods/getTransaction" permanent; rewrite "^/api/incomplete-methods$" "https://developers.stellar.org/docs/data/rpc/api-reference/methods" permanent; rewrite "^/api(.*)" "https://developers.stellar.org/docs/data/rpc$1" permanent;