Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sitemap generation in wrong folder when vhost is connected to pub folder #2802

Closed
jasperzeinstra opened this issue Dec 24, 2015 · 5 comments
Closed
Labels
bug report Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development

Comments

@jasperzeinstra
Copy link
Contributor

In my case my domain (vhost) is connected to the pub folder instead of the root folder, for security reasons. Now when I try to generate a sitemap.xml in te root of the url. www.mydomain.com/sitemap.xml I need to fill in / as path. But the sitemap is created in the root folder now, instead of the pub folder. And when I set /pub/ as my path I get the URL www.mydomain.com/pub/sitemap.xml returned in the backend. This is an incorrect URL.

@antboiko
Copy link

antboiko commented Jan 5, 2016

Hi @jasperzeinstra Thanks for reporting this issue. We've created an internal ticket MAGETWO-47607 to process it.

@sshrewz sshrewz added the Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development label Mar 17, 2016
@navarr
Copy link
Member

navarr commented Jun 30, 2016

A good work around for this would be to create a symbolic link pointing to the root sitemap.xml from pub, but if you are creating multiple sitemaps that will get unwieldy fast.

@hostep
Copy link
Contributor

hostep commented Jun 30, 2016

Duplicate - #1146

@vkorotun vkorotun removed the PS label Aug 4, 2016
@vkorotun vkorotun added the SEO label Aug 19, 2016
@maksek maksek assigned maksek and rodrigowebjump and unassigned maksek Apr 1, 2017
magento-team pushed a commit that referenced this issue Apr 19, 2017
…9094

 - Merge Pull Request #9094 from rodrigowebjump/magento2:2802-fix-sitemap
magento-team pushed a commit that referenced this issue Apr 19, 2017
magento-team pushed a commit that referenced this issue Apr 19, 2017
magento-team pushed a commit that referenced this issue Apr 19, 2017
magento-team pushed a commit that referenced this issue Apr 19, 2017
@okorshenko
Copy link
Contributor

Fixed in #9094

@magento-team
Copy link
Contributor

Internal ticket to track issue progress: MAGETWO-67054

@magento-team magento-team added Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development bug report develop labels Jul 31, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug report Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development
Projects
None yet
Development

No branches or pull requests