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 issue ?
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.Sign up to join this community
I have done some workaround for this ...
To generate this file directory should be wirtable...
<magento-root-dir>/pub is writable..
so I have created /pub/location (here we can not directly put sitemap.xml under pub directory.)
and in the backend i have generated a path ...
my site map is working now
Step 1: First you create any custom folder in your root directory (example : Here is my custom folder name = "sitemap").
(Note: (ex:- sitemap and yes please give full permission to this folder (chmod -R 777 sitemap))
Step 2: Magento Admin-->(Marketing->SEO & Search -> Sitemap).
Step 3: add a new sitemap. please see below image.
Step 4: Now check your url somthing like ...http://192.168.1.226/magento1/sitemap/sitemap.xml