WordPress.org

Forums

Googe News Sitemap
Sitemap problem (2 posts)

  1. Francesco Acciai
    Member
    Posted 1 year ago #

    Hi,
    I have installed this plugin and I have generated my sitemap. This is the file:

    <?xml version="1.0" encoding="UTF-8"?>
    -<urlset xmlns:n="http://www.google.com/schemas/sitemap-news/0.9" xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
    <!-- Generated by Google News Sitemap 1.0.9 -->

    <!-- plugin by Andrea Pernici -->

    <!-- http://andreapernici.com/wordpress/google-news-sitemap/ -->

    <!-- Created December 09, 2013, 09:50 -->
    </urlset>

    The file is obviously wrong...

    How can I fix this problem?

    http://wordpress.org/plugins/google-news-sitemap/

  2. Scorpious
    Member
    Posted 1 year ago #

    The plugin pulls in news/post updated in last 2 days.
    If you wish to pull from the beginning of time, goto this plugin editor page. There is only 1 php file. Open it and search for -

    $twoDays = 2*24*60*60

    change it to (for last 2000 days)

    $twoDays = 2000*24*60*60

    Save it. Build the sitemap. And change it back to original value.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Googe News Sitemap
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.