Skip to content

Commit

Permalink
Some Basic SEO Fixes (#266)
Browse files Browse the repository at this point in the history
* fix: nginx redirects should be permanent (301), not temporary (302)

* fix: redirect the moneygram tutorial to its new URL

* style: fix page with duplicate H1 and H2 tags

* style: remove duplicate H1 and H2 tags on accounts page
  • Loading branch information
ElliotFriend authored Nov 8, 2023
1 parent 55b7b8c commit 825df01
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 34 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Our integrations will also use the following SEPs:
- [SEP-10: Stellar Web Authentication](https://github.com/stellar/stellar-protocol/blob/master/ecosystem/sep-0010.md) - defines the standard way for clients to create authenticated web sessions on behalf of a user who holds a Stellar account
- [SEP-12: KYC API](https://github.com/stellar/stellar-protocol/blob/master/ecosystem/sep-0012.md) - defines a standard way for Stellar clients to upload KYC information to anchors

## Setup for anchored assets
## Finding anchored assets

BasicPay takes care of all the anchor transfer details on the `/dashboard/transfers` page. See it in action here: https://basicpay.pages.dev/dashboard/transfers

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ title: Accounts
sidebar_position: 20
---

## Accounts

Accounts are the central data structure in Stellar- they hold balances, sign transactions, and issue assets. Accounts can only exist with a valid keypair and the required minimum balance of XLM.

To learn about minimum balance requirements, [see our section on Lumens](../lumens#minimum-balance).
Expand Down
63 changes: 32 additions & 31 deletions nginx/includes/redirects.conf
Original file line number Diff line number Diff line change
@@ -1,33 +1,34 @@
rewrite ^/docs/glossary/accounts$ "/docs/fundamentals-and-concepts/stellar-data-structures/accounts" redirect;
rewrite ^/docs/glossary/assets$ "/docs/fundamentals-and-concepts/stellar-data-structures/assets" redirect;
rewrite ^/docs/glossary/channels$ "/docs/encyclopedia/channel-accounts" redirect;
rewrite ^/docs/glossary/claimable-balance$ "/docs/encyclopedia/claimable-balances" redirect;
rewrite ^/docs/glossary/clawback$ "/docs/encyclopedia/clawbacks" redirect;
rewrite ^/docs/glossary/decentralized-exchange$ "/docs/encyclopedia/liquidity-on-stellar-sdex-and-liquidity-pools#sdex" redirect;
rewrite ^/docs/glossary/federation$ "/docs/encyclopedia/federation" redirect;
rewrite ^/docs/glossary/fee-bumps$ "/docs/encyclopedia/fee-bump-transactions" redirect;
rewrite ^/docs/glossary/fees$ "/docs/encyclopedia/fees-surge-pricing-fee-strategies" redirect;
rewrite ^/docs/glossary/inflation$ "/docs/encyclopedia/inflation" redirect;
rewrite ^/docs/glossary/ledger$ "/docs/fundamentals-and-concepts/stellar-data-structures/ledgers" redirect;
rewrite ^/docs/glossary/liquidity-pools$ "/docs/encyclopedia/liquidity-on-stellar-sdex-and-liquidity-pools#liquidity-pools" redirect;
rewrite ^/docs/glossary/lumen-supply$ "/docs/encyclopedia/lumen-supply-metrics" redirect;
rewrite ^/docs/glossary/minimum-balance$ "/docs/fundamentals-and-concepts/lumens#minimum-balance" redirect;
rewrite ^/docs/glossary/multisig$ "/docs/encyclopedia/signatures-and-multisig" redirect;
rewrite ^/docs/glossary/muxed-accounts$ "/docs/encyclopedia/network-passphrases" redirect;
rewrite ^/docs/glossary/network-passphrase$ "/docs/encyclopedia/network-passphrases" redirect;
rewrite ^/docs/glossary/operations$ "/docs/fundamentals-and-concepts/stellar-data-structures/operations-and-transactions#operations" redirect;
rewrite ^/docs/glossary/scp$ "/docs/fundamentals-and-concepts/stellar-consensus-protocol" redirect;
rewrite ^/docs/glossary/sponsored-reserves$ "/docs/encyclopedia/sponsored-reserves" redirect;
rewrite ^/docs/glossary/testnet$ "/docs/fundamentals-and-concepts/testnet-and-pubnet" redirect;
rewrite ^/docs/glossary/transactions$ "/docs/fundamentals-and-concepts/stellar-data-structures/operations-and-transactions" redirect;
rewrite ^/docs/glossary/xdr$ "/docs/encyclopedia/xdr" redirect;
rewrite ^/docs/software-and-sdks$ "/docs/tools-and-sdks#sdk-library" redirect;
rewrite ^/docs/start/introduction$ "/docs/" redirect;
rewrite ^/docs/start/list-of-operations$ "/docs/fundamentals-and-concepts/list-of-operations" redirect;
rewrite ^/docs/start/stellar-stack$ "/docs/fundamentals-and-concepts/stellar-stack" redirect;
rewrite ^/docs/tutorials/handling-errors$ "/docs/encyclopedia/error-handling" redirect;
rewrite ^/docs/tutorials/securing-projects$ "/docs/encyclopedia/securing-web-based-projects" redirect;
rewrite ^/docs/glossary/accounts$ "/docs/fundamentals-and-concepts/stellar-data-structures/accounts" permanent;
rewrite ^/docs/glossary/assets$ "/docs/fundamentals-and-concepts/stellar-data-structures/assets" permanent;
rewrite ^/docs/glossary/channels$ "/docs/encyclopedia/channel-accounts" permanent;
rewrite ^/docs/glossary/claimable-balance$ "/docs/encyclopedia/claimable-balances" permanent;
rewrite ^/docs/glossary/clawback$ "/docs/encyclopedia/clawbacks" permanent;
rewrite ^/docs/glossary/decentralized-exchange$ "/docs/encyclopedia/liquidity-on-stellar-sdex-and-liquidity-pools#sdex" permanent;
rewrite ^/docs/glossary/federation$ "/docs/encyclopedia/federation" permanent;
rewrite ^/docs/glossary/fee-bumps$ "/docs/encyclopedia/fee-bump-transactions" permanent;
rewrite ^/docs/glossary/fees$ "/docs/encyclopedia/fees-surge-pricing-fee-strategies" permanent;
rewrite ^/docs/glossary/inflation$ "/docs/encyclopedia/inflation" permanent;
rewrite ^/docs/glossary/ledger$ "/docs/fundamentals-and-concepts/stellar-data-structures/ledgers" permanent;
rewrite ^/docs/glossary/liquidity-pools$ "/docs/encyclopedia/liquidity-on-stellar-sdex-and-liquidity-pools#liquidity-pools" permanent;
rewrite ^/docs/glossary/lumen-supply$ "/docs/encyclopedia/lumen-supply-metrics" permanent;
rewrite ^/docs/glossary/minimum-balance$ "/docs/fundamentals-and-concepts/lumens#minimum-balance" permanent;
rewrite ^/docs/glossary/multisig$ "/docs/encyclopedia/signatures-and-multisig" permanent;
rewrite ^/docs/glossary/muxed-accounts$ "/docs/encyclopedia/network-passphrases" permanent;
rewrite ^/docs/glossary/network-passphrase$ "/docs/encyclopedia/network-passphrases" permanent;
rewrite ^/docs/glossary/operations$ "/docs/fundamentals-and-concepts/stellar-data-structures/operations-and-transactions#operations" permanent;
rewrite ^/docs/glossary/scp$ "/docs/fundamentals-and-concepts/stellar-consensus-protocol" permanent;
rewrite ^/docs/glossary/sponsored-reserves$ "/docs/encyclopedia/sponsored-reserves" permanent;
rewrite ^/docs/glossary/testnet$ "/docs/fundamentals-and-concepts/testnet-and-pubnet" permanent;
rewrite ^/docs/glossary/transactions$ "/docs/fundamentals-and-concepts/stellar-data-structures/operations-and-transactions" permanent;
rewrite ^/docs/glossary/xdr$ "/docs/encyclopedia/xdr" permanent;
rewrite ^/docs/software-and-sdks$ "/docs/tools-and-sdks#sdk-library" permanent;
rewrite ^/docs/start/introduction$ "/docs/" permanent;
rewrite ^/docs/start/list-of-operations$ "/docs/fundamentals-and-concepts/list-of-operations" permanent;
rewrite ^/docs/start/stellar-stack$ "/docs/fundamentals-and-concepts/stellar-stack" permanent;
rewrite ^/docs/tutorials/handling-errors$ "/docs/encyclopedia/error-handling" permanent;
rewrite ^/docs/tutorials/securing-projects$ "/docs/encyclopedia/securing-web-based-projects" permanent;
rewrite ^/docs/tutorials/moneygram-access-integration-guide$ "/docs/building-apps/moneygram-access-integration-guide" permanent;
# moving /api/* locations to /api/horizon (leaving /api intact for the "overview page")
rewrite ^/api(/(?!horizon|(anchor|stellar-disbursement)-platform).+)$ /api/horizon$1 redirect;
rewrite ^/api(/(?!horizon|(anchor|stellar-disbursement)-platform).+)$ /api/horizon$1 permanent;
# moving /ap_api locations to /api/anchor-platform
rewrite ^/ap_api(/.*)?$ /api/anchor-platform$1 redirect;
rewrite ^/ap_api(/.*)?$ /api/anchor-platform$1 permanent;

0 comments on commit 825df01

Please sign in to comment.