title: Google couldn't fetch my sitemap.xml file
body: <p>I've got a small flask site for my old wow guild and I have been unsuccessful in getting google to read my sitemap.xml file. I was able to successful verify my site using googles Search Console and it seems to crawl it just fine but when I go to submit my sitemap, it lists the status as "Couldn't fetch". When I click on that for more info all it says is "Sitemap could not be read" (not helpful) </p>
  
  <p>I originally used a sitemap generator website (forgot which one) to create the file and then added it to my route file like this:</p>
  
  <pre><code>@main.route('/sitemap.xml')
  
  def static_from_root():
  
      return send_from_directory(app.static_folder, request.path[1:])
  </code></pre>
  
  <p>If I navigated to www.mysite.us/sitemap.xml it would display the expected results but google was unable to fetch it.</p>
  
  <p>I then changed things around and started using flask-sitemap to generate it like this:</p>
  
  <pre><code>@ext.register_generator
  
  def index():
  
      yield 'main.index', {}
  </code></pre>
  
  <p>This also works fine when I navigate directly to the file but google again does not like this.</p>
  
  <p>I'm at a loss. There doesn't seem to but any way to get help from google on this and so far my interweb searches aren't turning up anything helpful.</p>
  
  <p>For reference, here is the current sitemap link: <a href="http://www.renewedhope.us/sitemap.xml" rel="nofollow noreferrer">www.renewedhope.us/sitemap.xml</a></p>