Redirecting the page to an existing page

I have two pages in my navbar

Home (with modules)
Products (page, with more pages in the drop down menu)

I want that if someone clicks on Product (not the pages in the drop down), it redirects it to home. I am unable to find a way. I am very thankful for answering my little queries as I am learning and very new to any cms.

You can use a route in your /site/config/config.php

return [
  'routes' => [
    [
      'pattern' => 'projects',
      'action'  => function () {
        go('/', 301);
      }
    ]
  ]
];

Make sure to integrate the routes array into the existing return array; do not use two returns arrays.

wow worked like a charm. Thank you very much.