Questions tagged [sitemaps]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
25 views

Magento 2: Page not found on google browser

I have been searching for SEO tutorials and recommendations. My website is found just with one keyword, if I type subdomain domain the site is found, otherwise it's not. If I type a specific product ...
1
vote
1answer
30 views

magento 2.3 how to override protected function in custom module

I want to override protected method _prepareProduct present in vendor/magento/module-sitemap/Model/ResourceModel/Catalog/Product.php in my custom module. I have overridden the Model file by adding ...
0
votes
2answers
29 views

Include category path in product urls in sitemap and canonical urls

I am using magento-2.3 EE. I want to include category path in product url, in sitemap urls and same should be in their canonical urls. Like in sitemap, product urls should be like - site.com/...
0
votes
1answer
19 views

How to exclude certain products from Magento sitemap.xml generation in magento 2?

I found similar solution for this(Exclude certain products from Magento sitemap.xml generation) for version less than magento 2.0, I wanted a solution in magento 2. Being a developer I would like to ...
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 ...
1
vote
1answer
58 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
0answers
35 views

Magento2.22 In sitemap.xml inside more than product url getting like this “catalog/product/view/id/51”

I am using Magento2.2.2 and I used third-party module for URL regenerate this Iazel_RegenProductUrl and I apply command line through change URL for example apply this /usr/local/php71/bin/php-cli ...
0
votes
0answers
89 views

Magento2.2 sitemap genrate after some product url not showing properly

I have to used Magento2.2 and we are also install in our site this plugin olegkoval/magento2-regenerate-url-rewrites but we are truncate url_rewite table after run this command on our staging site ...
1
vote
0answers
27 views

How can I get all filter combinations and their links for all categories in Magento 2?

I have a problem and I do not know how to solve it. The client wants to get links of all filter combinations for the category, and make a check on index and follow. And if there is a parameter index ...
1
vote
1answer
139 views

How to remove interlacing from the PNG files in magento 2?

I have added a third-party extension for XML sitemap. When I generate a sitemap, I am getting "Service Unavailable The server is temporarily unable to service your request due to maintenance downtime ...
0
votes
0answers
23 views

Migrate from opencart to magento is i need to resubmit xml sitemap to google webmaster after successfully migration?

After migration from opencart to magento is i need to submit xml sitemap to google webmaster?
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 ...
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 ...
0
votes
4answers
510 views

Magento 2.2.5 can't find sitemap while it is generated

I'm struggling with an weird issue. I can't make any custom files / folders in my root of magento. I want to make a custom folder with some images, resulating in 404 errors when trying to reach the ...
0
votes
0answers
51 views

robots.txt and sitemap.xml site.webmanifest

Hello im having touble to load files robots.txt and sitemap.xml site.webmanifest form https://example.com/robots.txt for example, since magento root directory is set under /pub through nginx.conf....
0
votes
1answer
106 views

Magento 2 sitemap wrong paths in sitemap index when running on cron

I am using Magento 2.2.2. Please see below the current settings of the sitemap. It works correctly when we create sitemap by hitting generate button in admin. But when it gets generated automatically ...
0
votes
0answers
46 views

Exclude deactivated products from sitemap.xml generation

There are links to disabled products in my sitemap.xml which is leading to 404 sites. Why are they added to the sitemap.xml and is there a way to stop this behavior so that only activated products are ...
1
vote
1answer
251 views

Magento 2 : Sitemap Generation Warnings - Invalid header line detected

I am using magento 2.2.4. The site is working fine. But everyday I got a sitemap error email. The below lines are in the email. Sitemap Generation Warnings Invalid header line detected Also an ...
0
votes
3answers
192 views

Blank Sitemap.xml

I configured the sitemap configurations to update automatic my sitemap.xml and then I generated a sitemap via admin panel, as you can see below: My Sitemap: How to solve it?
1
vote
0answers
172 views

Issue with Magento 2 generated sitemap.xml

I'm using Magento's built in sitemap generation tool and have it set to generated nightly. The issue I'm facing with it is that the urls in the sitemap do not match the ones found on the site. To ...
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
0
votes
1answer
417 views

sitemap.xml shows different base path when generate

I have generated the sitemap for my live instance. But after generating it it is showing staging url in xml sitemap. When I see my xml sitemap in the browser for live site, it shows the links with ...
0
votes
1answer
137 views

Magento 1.9 Google site map generation 404 error

I'm using magento 1.9.x version, recently i tried to generate google site map via Catalogue - > Google Site Map But it gave 404 error Then i checked the code and identify the location of error ...
2
votes
2answers
489 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
1answer
500 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:...
0
votes
0answers
169 views

Magento2 exclude orphan products from sitemap

Is there a way to exclude orphan products from a sitemap? we have multiple storeviews in 1 store. We want the functionality that the customer can choose a product in one storeview and buy it in ...
1
vote
0answers
47 views

How to create Rest API for Store Wise Site Map in Magento 2?

I want to create Rest API for sitemap according to the store-wise. Which include active, salable and visible products on front-end. Can anyone suggest? How to do that task?
0
votes
1answer
219 views

Magento 2.2.4: SEO issue - Homepage Search Results in “No information is available for this page.”

I have recently replatformed from a custom PHP build to Magento 2.2.4, during the go-live process we changed from www to non-www versions of the site. I've updated Search Console to make the ...
0
votes
0answers
49 views

XML sitemap redirects to HTML sitemap after change

I have a strange issue where when you visit www.website.com/sitemap.xml or www.website.ca/sitemap.xml, it shows the sitemap as an html page. The following has been added to my .htaccess : #Sitemap: ...
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 ...
2
votes
0answers
117 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 ...
0
votes
1answer
63 views

Magento 2: How to add meta tags “NoIndex, Follow” to sitemap page

I'm trying to add robots metatags "NOINDEX, FOLLOW" to the sitemap. How can we achieve it in Magento 2
0
votes
1answer
632 views

How to remove image url from sitemap.xml Magento 2?

I have created sitemap.xml in the website. In which, Image URL coming with cdn link. I have change setting from admin but still is showing. I don't want to use CDN URL in the sitemap. How to ...
0
votes
0answers
121 views

How to add brand page URLs in sitemap.xml

I have created sitemap.xml on the website. That's fine. But I want to show brands page URLs in the sitemap.xml How can do this?
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?
0
votes
1answer
63 views

Redirect from /en/page.html to page.html

How can I automatically redirect custom pages from this URL site.com/en/page.html to this URL site.com/page.html In order to avoid problems with Google Search Console?
1
vote
1answer
144 views

Multiple Websites and Sitemap XML

I have multiple websites with different domains for each website and different Catalog Root Tree for each website on a single Magento 1.9 installation. The first website (abc.com) is the default ...
0
votes
1answer
618 views

Site does not index in Google

For some reason our site is not being indexed. I am trying to step through all the things that might be causing this. Any help or pointers would be greatly appreciated. I created 4 properties in ...
1
vote
1answer
109 views

Can't send sitemap for my Multistore to Google

I have a rare error. I have translated my website in to multiple languages, using Magento, like www.example.com/de Now, I have added www.example.com/de in Search console and I want to send the sitemap,...
0
votes
1answer
119 views

Best practice for fixing multiple URL's for same product issue in Magento1?

This Magento1 website has 5 different URL's for each product that are indexing in Google. Examples below: www.url.com/category1/product-name.html www.url.com/brands/product-name.html www.url.com/...
0
votes
1answer
199 views

Changing the sitemap after SSL installation

I recently installed SSL and edited .htaacess file.( for proper redirection). Recently, I found that the XML sitemap is referring to the non-SSL version as in the picture. Magento ver. 1.9.3.4 Is ...
0
votes
1answer
97 views

Around Plugin produce error in generateXml method for sitemap

I need to change the functionality of the generating sitemap xml. For that, I used around plugin for the generateXml() method in the Magento\Sitemap\Model\Sitemap class. When I try to generate the ...
0
votes
2answers
1k views

Multi store Magento 2 sitemaps to Google webmaster tools [duplicate]

I have 3 websites running in 1 install of Magento 2. There I have created for each store a sitemap. But how can i add the sitemap in webmaster tools? The sitemap link start all with www.deal-finder....
1
vote
0answers
134 views

Html sitemap issue

Facing some issues with html sitemap. I created a xml Sitemapfrom bacakend but when I load this link : http://localhost/PG2/catalog/seo_sitemap/product/ I have this error: The page you ...
0
votes
2answers
496 views

How to remove the URLs from XML Sitemap in Magento 1.14.2.2 [duplicate]

Currently, the XML Sitemap is having unwanted duplicate URLs which are blog URLs with the common folder path /index.php/blog/ Although, the /index.php/ is blocked in robots.txt. We are not able to ...
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 ??
1
vote
1answer
735 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?
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
561 views

Include Category Path in Sitemap

I want to include category path for products inside my sitemap.xml. Currently I am using Atwix Sitemap module, to split sitemap in multiple sitemaps. See: https://github.com/Atwix/Sitemap How can I ...
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 ...