Excluding the login page from Google’s index (Magento 2)

By default, the login page /customer/account/login/referer/aHR0cHM6Ly93d3cuc2FuaWRvZS5kZS9jdXN0b21lci9hY2NvdW50L2luZGV4Lw~~/ may be indexed by search engines such as Google. To prevent this, create or override the file customer_account_login.xml in your theme and add the following code:

Redeploy the content, clear the cache and…

Removing the pager from catalog/seo_sitemap/product and catalog/seo_sitemap/category (Magento 1)

To remove pagination from the Magento 1 SEO sitemap URLs for products (catalog/seo_sitemap/product) and categories (catalog/seo_sitemap/category), showing everything on one page, open your theme’s layout/catalog.xml and remove the following two lines: