{"section":"troubleshooting","requestedLocale":"en","requestedSlug":"admin-redirect-search-returns-no-results","locale":"en","slug":"admin-redirect-search-returns-no-results","path":"docs/en/troubleshooting/data-access-and-security/admin-redirect-search-returns-no-results.md","branch":"main","content":"When the number of redirects is too high, the Redirects page in the Admin can't process the search. This results in no returned results when the search is run. For more details on the Redirects page, see [Managing URL redirects by binding](/en/docs/tutorials/managing-redirects-per-binding).\n\n## Solution\n\nFollow these steps to get the redirects:\n\n1. Access **GraphQL IDE** through the page `{account_name}.myvtex.com/admin/graphql-ide`. Replace `{account_name}` with the name of your VTEX account.\n2. Select the `vtex.rewriter@x` app, where `x` is the app version. For example: `vtex.rewriter@1.62.0`.\n3. Use the following GraphQL query to list the store's redirects:\n\n  ```\n  query {\n    redirect{\n      listRedirects{\n        routes{\n          from\n          to\n          endDate\n          type\n          binding\n        }\n      }\n    }\n  }\n  ```\n\n  The expected result will be displayed in the following format:\n\n  ```json\n  {\n    \"data\": {\n      \"redirect\": {\n        \"listRedirects\": {\n          \"routes\": [\n            {\n              \"from\": \"/hello\",\n              \"to\": \"hola\",\n              \"endDate\": null,\n              \"type\": \"PERMANENT\",\n              \"binding\": \"56bc9434-7b8a-4ab1-a693-36271595a27d\"\n            },\n            {\n              \"from\": \"/v/*\",\n              \"to\": \"https://masrefacciones.backend.verbolia.com\",\n              \"endDate\": null,\n              \"type\": \"PERMANENT\",\n              \"binding\": \"56bc9434-7b8a-4ab1-a693-36271595a27d\"\n            }\n          ]\n        }\n      }\n    }\n  }\n  ```\n\n4. Alternatively, if the redirect path you want to find is known, use the following GraphQL query replacing `/hello` with the path of the desired redirect:\n\n  ```\n  query {\n    redirect{\n      get(path:\"/hello\"){\n        from\n        to\n        endDate\n        type\n        binding\n      }\n    }\n  }\n  ```\n\n  The expected result will be displayed in the following format:\n\n  ```json\n  {\n    \"data\": {\n      \"redirect\": {\n        \"get\": {\n          \"from\": \"/hello\",\n          \"to\": \"hola\",\n          \"endDate\": null,\n          \"type\": \"PERMANENT\",\n          \"binding\": \"56bc9434-7b8a-4ab1-a693-36271595a27d\"\n        }\n      }\n    }\n  }\n  ```\n\nIf the current redirects are not what's expected, the Rewriter app allows you to perform other operations with redirects, such as deleting existing ones and creating new ones. For details on these operations, see the [Rewriter GraphQL API](https://developers.vtex.com/docs/apps/vtex.rewriter/rewriter-graphql-api) guide.\n\nYou can also export and import redirects with `.csv files` using the Redirects page or the VTEX IO CLI `redirects` [plugin](https://developers.vtex.com/docs/guides/vtex-io-documentation-vtex-io-cli-plugins). For details on importing and exporting redirects, see [Managing URL redirects by binding](/en/docs/tutorials/managing-redirects-per-binding#importing-and-exporting-redirects) and the [VTEX IO CLI command reference](https://developers.vtex.com/docs/guides/vtex-io-documentation-vtex-io-cli-command-reference#redirects-delete)."}