
Editorial illustration.
You add a page to Drupal’s Main navigation, save it, and still cannot see the link on the site. The menu item may be disabled, the visitor may lack permission to open its route, or the menu block may not be placed where the theme renders it. Work through those layers in order. It is easier to find one missing link than to start changing Twig templates or clearing caches blindly.
Summary
- Confirm the menu link is enabled and belongs to the menu you expect.
- Test the destination as an anonymous visitor; Drupal hides links to pages the visitor cannot access.
- Verify that the correct menu block is placed in a visible theme region.
- Clear caches only after confirming the configuration, then retest with the same user role.
Start with the menu link itself
In the administration interface, open Structure > Menus and choose the menu you expect, often Main navigation. Check whether the link appears in its list, whether it is enabled, and whether it has a parent or weight that moves it outside the section you are viewing. Drupal’s Menu concept guide describes menu links, their hierarchy and the default menus supplied by the Standard profile.
If the link comes from a content edit form, confirm the content item actually has Provide a menu link enabled and that the selected parent menu is correct. A saved page does not automatically appear in navigation. Confirm the destination URL works directly before troubleshooting the menu. If the page itself returns access denied or not found, solve that first; a navigation link cannot make an inaccessible route visible.
Check access as the visitor who cannot see it
Drupal filters menu links according to access. A visitor who cannot view the destination may not see its link. The Menu concept guide gives the example that an administration link is not shown to visitors who are not logged in. This can look like a missing menu entry even when the link is enabled for an administrator.
Test in a private browser window or use the site’s role-switching workflow. Check at least the anonymous role and the logged-in role that reported the issue. If one role sees the link and another does not, compare permissions and the destination’s access rule. This is a useful distinction: granting a role broad access just to make a navigation item appear can expose the destination itself.
For custom routes, review the route’s _permission, _role, _entity_access or custom access requirement and the related access checker. Confirm that the intended visitor has the required permission. Our guide to Drupal custom routes returning access denied walks through the route side of that diagnosis. Do not change a route to public unless the page is meant to be public.
Confirm that the menu block is rendered
A menu can be configured correctly while its block is missing or hidden. Open Structure > Block layout for the active theme. Find the block for the intended menu and confirm it is assigned to a region the theme actually displays. A theme may call that region something other than “Header” or “Primary”; inspect the theme’s block layout rather than assuming the label.
Then open the block’s configuration. Check visibility conditions for pages, content types, roles and languages. A condition such as “show only on these pages” can hide the block on the page where you expected it. Also check whether a language-specific menu or a different menu block is active. If the block itself is absent on every page, start here before editing menu item access.
When using a contributed module such as Menu Block, verify which menu and starting level the block displays. A block configured to show only child links may not display the top-level item you are testing. Confirm that the module’s installed version and settings match your Drupal core version before changing configuration.
Separate a link problem from a theme problem
Inspect the page as the affected role and compare the rendered page with the block layout. If other links in the same block display, the region is active; focus on the item’s enabled state, hierarchy and access. If the whole menu is missing, focus on block placement, visibility conditions and theme regions. If the link is present in markup but invisible, inspect CSS and browser developer tools; a theme may hide it at certain screen widths or states.
Check both desktop and mobile widths. Responsive themes often collapse navigation behind a menu button. A link that is absent from the visible row may still be inside the mobile menu. This is a display behavior, not a Drupal permission failure.
Clear caches after the checks
Drupal caches rendered output and access-related results. After changing menu or block configuration, rebuild caches using the site’s normal process, such as drush cr in a development or deployment workflow. Then test again as the same role and language. Rebuilding caches before checking configuration can briefly mask the symptom without fixing the cause.
If the change is deployed through configuration management, make sure the updated menu link and block placement were exported and imported in the right environment. The link may exist in development but not production if configuration was not deployed. Review the configuration import before applying it; the Drupal configuration import review guide covers checking changes before they affect a site.
A practical checklist
- Open the expected menu and confirm the link exists, is enabled and has the intended parent.
- Open its destination directly and confirm it works for the expected visitor.
- Test as the role that cannot see it; compare its route permissions with a role that can.
- Check the active theme’s Block layout for the correct menu block and visible region.
- Review the block’s page, role and language visibility conditions.
- Check mobile navigation and any menu-block start-level settings.
- Clear caches, retest, then review deployed configuration if environments differ.
This order narrows the source of the issue: item, access, block, theme, or stale configuration. Change only the layer the evidence points to.
Mistakes to avoid
Do not grant broader permissions as a quick fix for an invisible link. Do not move the menu into an arbitrary region without checking what the theme renders there. Avoid repeatedly clearing cache without changing the faulty configuration. And do not edit a theme template just because the menu looks absent on one device; first check whether the responsive menu is collapsed.
My Take
The most useful first split is whether the whole menu is missing or only one item. A missing block points toward layout or visibility; one missing link points toward item status, hierarchy or route access. That small distinction prevents unnecessary code changes.
Conclusion
Check the menu item, visitor access and menu block in that order, then verify theme behavior and configuration deployment. Drupal intentionally filters links based on access, and themes decide where a menu block appears. Once you identify which layer is failing, the fix is usually a focused configuration change.