Questions tagged [sitemaps]

The tag has no usage guidance, but it has a tag wiki.

Filter by
Sorted by
Tagged with
14
votes
4answers
6k views

Exclude certain products from Magento sitemap.xml generation

I need to make sure a handful of products are NOT in the generated Sitemap.xml file in Magento. I found a couple of example for things like CMS Pages but nothing for doing product pages, and more then ...
12
votes
3answers
3k views

Generating a sitemap for a custom model

I've developed a bespoke module which lists a series of people on the site. Each person has their own URL (a bespoke Magento controller, which does basic CRUD on Person models) and I need to feed ...
9
votes
6answers
13k views

Magento 2 : How can I get the sitemap in magento 2?

How we create the sitemap page in Magento 2 like same we have in Magento 1? http://example.com/catalog/seo_sitemap/
8
votes
3answers
2k views

Magento Google sitemap Generation

I have generate google sitemap through Magento adminpanel. I have set Product URL Suffix(html) and Category URL Suffix(html) in the configuration. This suffix are not showing in sitemap.xml. It ...
7
votes
3answers
3k views

Sitemap.xml change home

On our Magento store the sitemap which Magento automatically generates from the admin panel at Catalog > Google Sitemap adds the home url to our homepage like: <url> <loc>http://our-...
5
votes
1answer
547 views

Magento 2.1 - Sitemap XML Doesn't change to HTTPS

Use Secure URLs on Storefront = Yes Use Secure URLs in Admin = Yes Secure Base URL = starts with HTTPS Why does my sitemap not start each link with https?
4
votes
2answers
840 views

Sitemap generation error

In my magento app, google sitemap generation frequency is set to daily. For the last 4 weeks, I see email saying the following error: Sitemap generate warnings: dbModel read resource does not ...
4
votes
2answers
3k views

Can't get cron to work

I try to set up cron to generate my site map. I defined the google sitemap in catalog > google sitemap. I also defined the system > configuration > catalog > google sitemap generation to every day ...
4
votes
3answers
1k views

404 Issue on URLS in Sitemap (EE 1.13)

Sitemaps are generating without a suffix regardless of the settings in the admin. It appears that when enterprise_url_rewrite was written as a port from core_url_rewrite that the suffix was missed. ...
4
votes
3answers
139 views

Unable to generate the sitemap

Magento fails to generate the sitemap.xml. I get Unable to generate the sitemap.. I get this exception: 2019-02-25T15:00:59+00:00 DEBUG (7): Exception message: SQLSTATE[42000]: Syntax error or ...
3
votes
2answers
1k views

How to add custom URLs to sitemap in Magento 2?

I need to add the custom links to sitemap.xml in Magento 2. How can I do this?
3
votes
2answers
171 views

Magento 2.2.8 - sitemap.xml contains “pub” DIR in the URL, It should be without “pub” directory in the URL

Preconditions app/etc/env.php 'directories' => [ 'document_root_is_pub' => true ], 'MAGE_MODE' => 'production', document_root_is_pub is true MAGE_MODE is have production value ...
3
votes
2answers
2k views

Get all Magento URLs by store view

I'm looking to retrieve all URLs of a Magento website (CMS pages, categories, products...) subdivided by store view. Something like the default Magento Sitemap, but with a different format: ...
3
votes
1answer
6k views

Sitemap won't generate - sitemap.xml is created but only contains 2 lines

We're having trouble with the Google sitemap feature in Magento 1.9.0.1. When generating the sitemap the error "Unable to generate the sitemap.". The file sitemap.xml is created but only contains the ...
3
votes
1answer
8k views

Change default sitemap URL

Is there anyway to change the default sitemap url from: http://mysite.com/catalog/seo_sitemap/category to just: http://mysite.com/sitemap
3
votes
1answer
993 views

Sitemap.xml missing

I've CE 1.8.0 and cron is working, sitemap is enabled an database table cron_schedule says sitemap_generate success. But sitemap.xml file is missing? What folder it should locate? What do I miss or ...
3
votes
0answers
3k views

XML sitemap generation Magento 1.9 [closed]

I am trying to index my online store pages when I generate the sitemap for my online store the only pages that are indexed are cart, checkout, login, create account pages. I have already enabled the ...
2
votes
2answers
2k views

How to add extra pages to Google Site map

We have a storelocator module on our Magento store, it works well but it is not being added to the Magento google sitemap. Is there a way to add to our sitemap which Magento automatically generates?
2
votes
2answers
3k views

404 error after magento 2 sitemap generation

I have magento 2 store and when i create a sitemap it works ok , but after that when i want to access the newly created sitemap it throw 404 error page.i'm using nginx server. how can i fix this ??
2
votes
1answer
1k views

We can't generate the sitemap right now, due to missing query?

I recently set my site live, and I was attempting to setup the sitemap.xml file, unfortunately it generates the (what seems common) and vague error "We can't generate the sitemap right now." A little ...
2
votes
2answers
2k views

Sitemap for multistore shop

As I know, google accept only one sitemap. So we have a multi store like: https://www.outdoorequipped.com/ <- entry page https://www.outdoorequipped.com/active/ https://www.outdoorequipped.com/...
2
votes
2answers
4k views

How to exclude inactive categories/pages from generated google sitemap.xml?

Through Catalog > Google sitemap I have just generated a sitemap.xml file. The file itself works perfect. My problem though is, that the file also contains inactive categories. I can't seem to find ...
2
votes
1answer
101 views

Magento 2.0.7 sitemap not display?

I am new to magento 2.x. I have created sitemap.xml, but it's not display in frontend. how to get sitemap url?
2
votes
1answer
7k views

Auto-generated sitemap.xml on 1.9.2

I have a problem with the auto-generation of my sitemap. I did everything I have written below. I created a sitemap through Admin > Catalog > Google Sitemap option I made the auto-generation setup ...
2
votes
1answer
562 views

Please set available and/or protected paths list(s) before validation. | Create sitemap

I'm trying to create a Google Sitemap through: Catalog > Google Sitemap. Filename: sitemap.xml Path: /sitemap Store View: Nederlands (I have two store views). The path /sitemap is writable (chmod -...
2
votes
2answers
222 views

Add Noindex Tag SEO Sitemao - Both Category and Product

How do i add noindex to the catalog/seo_sitemap in Magento Both catalog/seo_sitemap/product/ and catalog/seo_sitemap/category We have a large store and resulted in about 100 useless pages in google. ...
2
votes
2answers
2k views

catalog/seo_sitemap/category/ showing *disabled* categories

On Magento 1.9.0.1 catalog/seo_sitemap/category/ showing disabled categories Hi we have a link to catalog/seo_sitemap/category/ in our store view the problem is that is shows the DISABLED ...
2
votes
1answer
43 views

sitemap.html won't autogenerate

My sitemap.html won't generate. We recently did a site migration from one magento platform to another so I'm thinking this could be a reason, but would love to hear any feedback from you all. The ...
2
votes
1answer
492 views

Compilation error : Incompatible argument type: Required type: \\Magento\\Config\\Model\\Config\\Reader\\Source\\Deployed\\DocumentRoot

Compilation error: 157 => 'Errors during compilation:', 158 => ' MyCompany\\Sitemap\\Model\\Sitemap', 159 => ' Incompatible argument type: Required type:...
2
votes
1answer
3k views

Google sitemap.xml generates product url's without category path

I generated an sitemap.xml file through the Catalog > Google sitemap area. What I experience is that the product url's in the .xml appears to be incorrect url-path'wise. So a product url appears as: ...
2
votes
1answer
47 views

Site maps are being generated automatically with /pub/media in the URL giving 404 errors

Our sitemaps are generated automatically daily and split in to 22 files, https://www.oursite.nl/pub/media/sitemap-1-1.xml - https://www.oursite.nl/pub/media/sitemap-1-22.xml The issue is the links are ...
2
votes
2answers
485 views

XML site map is not generating for Magento 2.2.6

I have upgrade the Magento version to 2.2.6. Now i want to configure the sitemap for my site. I have followed the document but still it showing 404 page not found error.. is it magento 2.2.6 known ...
2
votes
0answers
115 views

Magento 2.2.4: Homepage missing from Sitemap.xml

I'm encountering an issue where the homepage is missing entirely from the sitemap.xml file. In previous versions, it was included as /home which was identified as a duplicate content issue and ...
2
votes
0answers
102 views

Change the sitemap.xml size limit in magento 1.x.x

It seems that Magento 1.x.x. generated sitemap.xml is limited to 10MB. Is there any way to change the limit? I do know that I'll need to split the generated sitemap into smaller chunks after that to ...
2
votes
1answer
148 views

Magento 1 : Some active categories are not displaying in sitemap.xml

Two category pages are not displaying in sitemap.xml these categories are active in backend, and also showing in frontend still my sitemap.xml is not displaying these two category pages. Can any one ...
2
votes
0answers
189 views

magento - add brand pages to sitemap.xml

i have a page with all the brands in my store. generated from the attribute "manufacturer". all brand have their own brand page. like mydomain.com/canon.html Is it posible to add all these ...
2
votes
0answers
155 views

Delete old Urls from database

Good morning! Is it possible to delete old url records in the database without harm the system? My problem is a shop that first started with one storeview in english. Years later they added a ...
1
vote
2answers
2k views

Remove /home url from sitemap and url site structure

Remarkably simple problem I have that I'm not finding a simple solution for. Essentially I have a duplicate url issue with a Magento site's home page. I have in the url structure the below: www....
1
vote
1answer
299 views

Sitemap.xml for all store views

I am using several store views. Each has different links so I would like to have a sitemap.xml including all links from all store views. What is the practise of creating a proper sitemap.xml? ...
1
vote
2answers
809 views

Magento gets stuck when generating Google Sitemap

When I try to generate my Google Sitemaps Magento loops and does not stop. Here is sitemap url : http://www.soloshop.it/sitemap.xml What could the problem be? Any ideas? Thanks UPDATE 20/11/2014 I ...
1
vote
1answer
135 views

magento google sitemap

I generated a sitemap from magento admin panel - caralog -> google sitemap There are many links in my site which are not included, like http://www.website.com/wishlist/ http://www.website.com/...
1
vote
2answers
492 views

Multiple Website Sitemaps?

I have multiple websites running under different domains from a single Magento installation. The first website is a broad scope store selling everything the business offers and two additional ...
1
vote
1answer
57 views

Magento 2.2.8 - sitemap.xml contains “pub” DIR in the URL, it should be without “pub” directory in the URL

Preconditions app/etc/env.php 'directories' => [ 'document_root_is_pub' => true ], 'MAGE_MODE' => 'production', document_root_is_pub is true MAGE_MODE is have production value ...
1
vote
2answers
341 views

How to add function to modify sitemap

I currently created an extension which does a series of works to the category and product url. Then I need to tell Magento not to include some of the categories and products if they have certain ...
1
vote
1answer
401 views

Remove empty categories from xml sitemap

My xml site map is showing categories which contain no products (although some child categories may). Is there a simple way of removing these from the xml or do I need to count products as magento ...
1
vote
2answers
437 views

Sitemap for Google?

I need a Sitemap to comply with Google´s requirements for SEO... I did the following: Set System->Configuration->Google Sitemap->Generation Settings->Enabled to “Yes” Created a Google Sitemap in ...
1
vote
1answer
1k views

Why is start page missing from sitemap.xml?

I'm rather new on the Magento platform, but I've noticed a weird thing on a couple of my clients' websites. The home page is missing from the sitemap.xml. In all cases the clients' home page is a CMS ...
1
vote
1answer
81 views

Deleting a Magento 2 Sitemap

On our Magento 2 store we have a second sitemap we need to remove. Can someone advise how we do this please? Many thanks
1
vote
1answer
107 views

Multi view store (CA and USA) sitemaps on different domains

We have 2 domains: www.website.com and www.website.ca Both websites are using the same root folder on the same Magento instance. What is the best way to create sitemaps for each site that use the ...
1
vote
1answer
729 views

Cron jobs for Sitemaps in Magento 2

I have to setup cron jobs for Sitemaps in Magento 2 on daily basis. How will I achieve this?