Questions tagged [sitemaps]
132
questions
10
votes
6
answers
21k
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/
2
votes
2
answers
3k
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 ...
0
votes
3
answers
1k
views
Overriding Magento Sitemap Model Class
I try to override Mage_Sitemap_Model_Resource_Catalog_Product class. Here is my files:
File \magento\app\etc\modules\Own_Sitemap.xml
<?xml version="1.0" encoding="UTF-8"?>
<config&...
2
votes
2
answers
731
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
1
answer
1k
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 ...
4
votes
2
answers
2k
views
SITEMAP.XML contains non-canonical links
XML Sitemap contains a lot of non-canonical URLs in Magento 2.0.2. It's not good practice from SEO perspective and and worth fixing.
Here is my config:
Use Categories Path for Product URLs is set ...
4
votes
2
answers
3k
views
How to exclude specific Products, Categories and CMS Pages from sitemap.xml generation in Magento 2?
I need to create a custom module that allows excluding/skipping the Products, Categories and CMS Pages URLs from generating in sitemap.xml. I had tried this solution for Magento 1, How could I do it ...
1
vote
2
answers
1k
views
Exclude CMS page while creating sitemap.xml in magento admin
We have certain CMS pages in our magento e-commerce store. Now we need to create sitemap.xml and as we all know magento admin provides to create a sitemap.
But here, the problem is when I generate a ...
14
votes
4
answers
8k
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 ...
0
votes
0
answers
19
views
Multiple hreflang on one page - duplicate content store views
We have a Magento 2 shop in 3 languages German, English and Spanish.
Does it make sense to include all hreflangs for Spanish and English speaking countries in the sitemap?
Or would this lead to ...
0
votes
0
answers
21
views
Sitemaps Broken in Sitemap Index
We are trying to create individual sitemap indexes for our multilingual website.
This is the appropriate solution for handling multilingual websites, but there is another issue we're facing. When we ...
1
vote
2
answers
313
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
1
answer
23
views
Cueblocks sitemap doesn't capture all products
Recently my company upgraded our websites to Magento2.4.4 and the sitemaps generated by the module Cueblocks suddenly stopped capturing all products.
We have over 10000 products in stock, yet sitemap ...
5
votes
5
answers
6k
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?
6
votes
3
answers
8k
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 ??
0
votes
0
answers
17
views
Google search results defaults to us site instead of .com site
We have set up a multi regional website in magento with country specific subfolders for different regions. It has geo location based automatic redirection in place and everything works fine. But when ...
1
vote
1
answer
130
views
Can I use sitemap_products_generating_before event to modify Product Sitemap in Magento2?
In Magento 1, sitemap_products_generating_before event allows us to modify the Product Sitemap.
Can I use sitemap_products_generating_before event names in Magento 2.4?
I want to filter the product ...
0
votes
5
answers
4k
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 ...
1
vote
1
answer
426
views
URL Rewrite not working only for one specific path
I want to ask you for help regarding URL Rewrites.
As you can see here I've added the URL rewrite for this path but in the sitemap.xml file there is still not updated it's an old (target path) so the ...
2
votes
1
answer
53
views
Showing all links on catalog/seo_sitemap/product/?
Magento 1.9
How do I show all links on that page, without a pager? Is there a setting for that? I dont just want to remove the pager, but show all for example 250 entries on one page.
Thanks!
2
votes
2
answers
2k
views
"magento2/sitemap.xml" is always and automatically added to my robots.txt
I don't know how and why I find the following in my robots.txt
Sitemap: http://www.[mySite].com/magento2/sitemap.xml
worse the link opens to a "404 page not found".
I have tried to remove it from ...
1
vote
1
answer
4k
views
How to remove interlacing from the PNG files in magento 2? error: ibpng warning: Interlace handling should be turned on when using > png_read_image
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
1
answer
135
views
How to remove sitemap link in the footer? - Magento2
To remove sitemap link in the footer, I tried to add this on
Magento_Theme/layout/default.xml
<referenceBlock name="sitemap-link" remove="true"/>
or
<referenceBlock name=&...
0
votes
1
answer
515
views
SiteMap problem after URL change
I changed my domain name after a Magento 2 installation, modified the Magento configuration to put the new URL there but the generated sitemap still shows the link of the products with the old URL. I ...
0
votes
0
answers
255
views
Magento2 Ignore specific URLs from XML sitemap
Magento2 I need to remove some specific URLs from sitemap. How can I achieve this?
I am using default Magento XML sitemap generater
0
votes
0
answers
24
views
Suddenly Sitemap model stopped working after 4month
I have used the preference to override the Sitemap model. Working fine for 4 months.
I have also tried to find other module is overriding the same but didn't get anything.
Can somebody help me to find ...
0
votes
1
answer
81
views
'changefreq' => 'weekly' is not showing in xml after generated xml in Custom URL Magento 2
use Magento\Framework\App\ObjectManager;
use Magento\Framework\DataObject;
class Sitemap extends \Magento\Sitemap\Model\Sitemap
{
public function getCustomurlCollection()
{
$...
0
votes
2
answers
576
views
Unable to generate sitemap.xml in Magento 2.3.3
Recently i moved from Cpanel to AWS afer that when i click on generate sitemap i am getting below error.
Path "/var/www/html/" cannot be used with directory "/var/www/html/"
For ...
0
votes
1
answer
328
views
How to add stock filter in stiemap.xml in Magento 2.3?
I want to exclude out of stock products from the sitemap.xml. I want to add stock filter like status or visibility filter in the product collection:
public function getCollection($storeId)
{
...
1
vote
0
answers
187
views
Magento 2 sitemap url does not work after we add any rewrite rule in root htaccess file
Our sitemap URL works fine at /sitemap/sitemap.xml but as soon as we add any rewrite rule in root .htaccess file then it gives status code 404 page not found.
RewriteRule ^abc/(.*)?$ /media/doc/files/...
0
votes
1
answer
272
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
1
answer
574
views
How to add cms page URL in sitemap.xml
How to created sitemap.xml last week in my production site.
Today I have created a new CMS page. How do I add this page's URL to sitemap.xml?
Please provide me a solution.
1
vote
2
answers
323
views
Magento 2.3.4 Plugin Sitemap not working
I've had a plugin working on 2.2.2 version but it's not working on 2.3.4. Its seem that collectSitemapItems() method is not firing even in native magento WHen I print_r('Die');die;
public function ...
1
vote
1
answer
752
views
Magento2 - How to create sitemap pro-grammatically with custom script
I want to create sitemap pro-grammatically using script,
any one have idea, to create sitemap using API or another way...
3
votes
0
answers
461
views
Magento 2.3.2. Multistore robots.txt wrong sitemap URL
A client has a Magento 2.3.2 multistore with 5 stores. For convenience I name them store 1/5. The store has created 5 sitemaps in magentoroot/sitemap/{storename}/sitemap.xml.
The robots.txt I assume ...
1
vote
0
answers
234
views
Magento 2: How to add the home page URL in sitemap.xml
How to add the Homepage URL in sitemap.xml with priority 0.1 in Magento 2?
Please Help me.
2
votes
2
answers
850
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/...
2
votes
1
answer
780
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
1
answer
425
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 ...
5
votes
2
answers
3k
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
0
answers
297
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 ...
2
votes
0
answers
1k
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 ...
2
votes
0
answers
96
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 ...
4
votes
3
answers
343
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 ...
2
votes
1
answer
233
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 ...
1
vote
1
answer
1k
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 ...
1
vote
1
answer
308
views
Magento site generation error - products not added to sitemap
I have this weird issue where products are not being added to the sitemap. We run a multi-store with 12 stores, so also 12 sitemaps.
Sitemaps setup correctly and cron working properly.
All sitemaps ...
1
vote
1
answer
767
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
3
answers
5k
views
Simple sitemap in html format as static block for Magento (/sitemap)
we use a sitemap.xml and robots.txt to tell everyone where it is.
Now: we are looking for a human readible version of the sitemap - and want to print the contents of the complete sitemap file in ...
0
votes
3
answers
517
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?