I been trying this for sometimes now . I have created sitemap.xml but i can not open the link in the browser ( 404 error ) same happens with sitemap validator online .
I have my site in production mode . and is serving content from pub folder . i have used different directories including store root. All online validators can find the path to the xml but they report 404 error . any suggestion ?
I found one solution to add a RewriteCondition but that didn't work.