Hi,
I added my Middleman project to Google Webmaster Tools and I want to add a sitemap. Does Middleman automatically created a sitemap? And what’s the url to it?
thanks for your help,
Anthony
Hi,
I added my Middleman project to Google Webmaster Tools and I want to add a sitemap. Does Middleman automatically created a sitemap? And what’s the url to it?
thanks for your help,
Anthony
Anthony, have you looked into the official Middleman extensions list? I can see a middleman-sitemap plugin there and middleman-search_engine_sitemap. They seem to be actively developed. Actually I will try them tonight for my current project.
I’m currently using middleman-search_engine_sitemap. Works great. Build middleman site, push to deploy. Go into Google Webmaster Tools, select the site, Crawl --> Sitemaps and the url to the deployed sitemap.xml. Then on every build and deploy Google will pick up the new sitemap.
thanks guys,
I implemented the middleman-searchengine sitemap and it works like a charm … on my local machine.
I have a problem to deploying my changes to heroku:
error tmp/sitemap.xml
There were errors during this build, re-run with `middleman build --verbose` to see the full exception.
rake aborted!
Command failed with status (1): [middleman build...]
/tmp/build_b3d8907b-d401-4248-91c2-027fd6b69c1d/Rakefile:3:in `block (2 levels) in <top (required)>'
!
! Precompiling assets failed.
!
! Push rejected, failed to compile Ruby app
To git@heroku.com:morning-inlet-7066.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'git@heroku.com:morning-inlet-7066.git'
my repository is here: https://github.com/acandael/personal-site
should I use a more recent version of the middleman-searchenginesitemap gem ?
thanks for your help,
Anthony