ghost-on-github-pages icon indicating copy to clipboard operation
ghost-on-github-pages copied to clipboard

[Bug] sitemap.xml not deployed with deploy.sh

Open ghost opened this issue 5 years ago • 3 comments

Hello,

It seems that the sitemap.xml which can be handy for SEO does not deploy with deploy.sh.

I'm not sure if that's on purpose or perhaps overlooked. I replicated this on both my and your demo blog.

I suspect it can be related to this here which says Sitemap: http://localhost:2368/sitemap.xml On local host it's accessible.

Ghost blog default blog has it here https://ghost.org/blog/sitemap.xml

Am I missing something here perhaps?

ghost avatar May 02 '20 10:05 ghost

You still have this issue?

abhijithvijayan avatar May 30 '20 19:05 abhijithvijayan

Hey @abhijithvijayan I have the same problem. My blog Your demo For some reason it gives 404.

pavlenex avatar May 30 '20 20:05 pavlenex

This is due to wget and probably there will be a workaround. I found this answer that does the sitemap generation.

Currently if you look at the build, sitemap.xml is not present(hence causing 404)

Will have to generate the xml within the script to make this work.

abhijithvijayan avatar May 30 '20 20:05 abhijithvijayan