Open veganstraightedge opened 5 years ago
I feel this is something that could be auto-generated as far as the xml.gz file on deploy. Sequence would look like:
I use mostly vps/vm/metal but I can look into how Heroku works.. It's been 7 years :)
@veganstraightedge, I was about to close this issue since all the previous parts are done. I try to generate the sitemap.xml.gz locally, it works, and I can download the file when I hit localhost:3000/sitemap.xml.gz
, but when I hit crimethinc.com/sitemap.xml.gz
I get a 404. Can you validate that sitemap:refresh
is correctly execute when we deploy the app?
Prior art:
https://crimethinc.com/sitemap.xml.gz
404sI'm not sure if we ever actually had the sitemap up on the production site. We might've been waiting until we could figure out a way to not manually run a script and/or have to commit the .xml.gz to source control.
It would be amazing if someone could figure out how to do this at all and even better would be how to automate it with Heroku et al.