I have renamed the enterprise search center url from
Search from root site top navigation search dropdown takes to
https://xxxxx/WebSearch, which is good. But search from any subsite takes it to
https://xxxxx/Search and we get page not found error. How to fix this without going to each subsite and doing any changes, because we have a lot of subsites in the site collection.