I added simple enhanced blog capabilities to a site two weeks back, using modified index.php, single.php and sidebar.php files in a child theme. A few days later and googling the business name I've noticed URL/page/2/ in the search results ahead of the regular URL. On further inspection the homepage displays no matter what number is inserted in place of '2', so for example https://littlelawyers.com.au/page/1034/ loads the same result.

I've expanded the search to other wordpress sites and the same thing is happening. Can anyone explain how to prevent the URL from being created and presumably being auto included in the sitemap?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.