I figured it out.
The menu name was “Search” so wordpress redirected the subpages to the wordpress search results page and was assuming the search functionality.
I figured it out.
The menu name was “Search” so wordpress redirected the subpages to the wordpress search results page and was assuming the search functionality.