Skip to content

Write post about ChatGPT #10

Description

@frob

ChatGPT can still just make crap up.

How do I stop the toolbar from showing for a route in drupal 9

To stop the toolbar from showing for a specific route in Drupal 9, you can use the following steps:

    Log in to your Drupal 9 website as an administrator.

    Go to "Configuration" in the admin menu.

    Under "System", click on "Performance".

    Scroll down to the "Bandwidth optimization" section.

    Find the "Exclude pages" field and enter the path of the route you want to exclude from the toolbar. For example, if you want to exclude the route "example/page", you would enter "/example/page".

    Click "Save configuration" to save your changes.

    Clear the cache to ensure that the changes take effect.

After these steps, the toolbar should no longer appear on the specified route.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions