Stop pagination when static homepage is set
I have a pretty big website and have set a page as homepage in the wordpress settings.
Now if I go to website.com/page/10, that shows the content of homepage but the URL in browser remains the same that is website.com/page/10
The issue with this is that Google has indexed 100K+ these pages and this is eating up my crawl budget.
How can I have WordPress show a 404 error when the url is website.com/page/10 or any number at the end.