From 78f8c5ecd5d0393c5c5916d4917f0a1d3b2cecd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arnar=20Bj=C3=B6rn?= Date: Tue, 5 May 2026 08:33:59 +0000 Subject: [PATCH] docs: Update broken links to 'Customizing Admin Panel Location' The current links inside the ./admin/overview linking to 'Customizing Admin Panel' are broken and link to /admin/customizing-location which returns 404. This changes the URL to /admin/admin-panel-location. --- docs/admin/overview.mdx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/admin/overview.mdx b/docs/admin/overview.mdx index eef73a9c871..0fd2596540b 100644 --- a/docs/admin/overview.mdx +++ b/docs/admin/overview.mdx @@ -61,7 +61,7 @@ The `admin` directory contains all the _pages_ related to the interface itself, **Tip:** The `(payload)` folder location is flexible. You can move it to match your application's structure by updating the `routes` and `admin.importMap` - configuration. See [Customizing Admin Panel Location](./customizing-location) + configuration. See [Customizing Admin Panel Location](./admin-panel-location) for step-by-step instructions. @@ -246,7 +246,7 @@ app **Advanced Routing:** For complex scenarios like nesting the admin panel at custom paths (e.g., `/admin/content`) or organizing multiple admin dashboards, - see [Customizing Admin Panel Location](./customizing-location). + see [Customizing Admin Panel Location](./admin-panel-location). ### Admin-level Routes @@ -424,15 +424,15 @@ The following options are available for the `admin.toast` configuration: ### Can I move the Payload admin panel to a custom location? -Yes! Payload is flexible about where the admin panel lives. You can move it to custom routes like `/dashboard`, `/cms`, or nested paths like `/admin/content`. See [Customizing Admin Panel Location](./customizing-location) for step-by-step instructions. +Yes! Payload is flexible about where the admin panel lives. You can move it to custom routes like `/dashboard`, `/cms`, or nested paths like `/admin/content`. See [Customizing Admin Panel Location](./admin-panel-location) for step-by-step instructions. ### Which auto-generated files can I safely modify? -Most files in the `(payload)` folder are only created once and can be safely modified. Only the `importMap.js` file is regenerated automatically. See [Understanding Auto-Generated Files](./customizing-location#understanding-auto-generated-files) for a complete reference table. +Most files in the `(payload)` folder are only created once and can be safely modified. Only the `importMap.js` file is regenerated automatically. See [Understanding Auto-Generated Files](./admin-panel-location#understanding-auto-generated-files) for a complete reference table. ### Why does layout.tsx say "DO NOT MODIFY" if I need to edit it? -This warning is misleading. The `layout.tsx` file was generated during initial project setup but is never regenerated by Payload. It is safe to modify, especially when customizing your folder structure. See [About the "DO NOT MODIFY" Warning](./customizing-location#about-the-do-not-modify-warning) for details. +This warning is misleading. The `layout.tsx` file was generated during initial project setup but is never regenerated by Payload. It is safe to modify, especially when customizing your folder structure. See [About the "DO NOT MODIFY" Warning](./admin-panel-location#about-the-do-not-modify-warning) for details. ### What happens if I edit the import map file directly?