• Hi All

    I was getting the following error via Google Webmaster tools that my sitemap appears to be HTML

    “Your Sitemap appears to be an HTML page.”

    After looking up the error I disabled the Check this box to enable XML sitemap functionality option, saved and then re-enabled it

    I also have W3 Total Cache running and also Google Pagespeed. So I cleared down the cached on these also

    When I attempt to load the sitemap_index.xml page I now get the error:

    ERROR: This is not a valid feed template.

    I was seeing a trailing slash on the end of the link, but I altered the permalink setting to remove this, but I still have the same problem.

    Before changing the settings I was able to load the sitemap with no problems

    Any idea guys?

    https://www.thetubcompany.co.uk/sitemap_index.xml

    Thanks

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter MrModo

    (@mrmodo)

    Hi

    I think I found the solution to this. Seems to be cause by the Testimonials Widget Premium plugin. By process of elimination of all my plugins, If I disable the Testimonials Widget Premium plug in, then re-save the Permalinks …then check to see if the sitemap is working – it does. I am then able to re-activate the Testimonials Widget Premium plug.

    If I were to save the permalinks again with Testimonials Widget Premium active. The sitemap would fail again with the ERROR: This is not a valid feed template

    No idea why..but it works!

    Matt

    (@mugwumpman)

    We had exactly the same issue with Sermon Manager for WordPress.

    1. SITEMAP DOESN’T WORK
    2. Disabled SM4WP
    3. Resaved permalink settings
    4. Resaved Sitemap settings
    5. XML SITEMAP NOW WORKS
    6. Renabled SM4WP
    7. SITEMAP STILL WORKS
    Thread Starter MrModo

    (@mrmodo)

    Hi

    That sounds exactly like the problem I had with Testimonials Widget Plugin. I reported it to them and they fixed it asap

    I just installed SEO by Yoast on a Sermon Manager site. Mugwampman’s steps worked until I re-enabled Sermon Manager for WordPress. As soon as I did that the sitemap stopped working.

    Any ideas?

    Hi all –

    Ran into the same issue as y’all, and figured out what the bug was finally. The sermon manager plugin has a bad rewrite declaration in the code of the following file:

    …/plugins/sermon-manager-for-wordpress/includes/podcast-functions.php

    specifically, lines 132-139:

    131 // Custom rewrite for podcast feed
    132 function wpfc_sermon_podcast_feed_rewrite($wp_rewrite) {
    133         $feed_rules = array(
    134                 'feed/(.+)' => 'index.php?feed=' . $wp_rewrite->preg_index(1),
    135                 '(.+).xml' => 'index.php?feed='. $wp_rewrite->preg_index(1)
    136         );
    137         $wp_rewrite->rules = $feed_rules + $wp_rewrite->rules;
    138 }
    139 add_filter('generate_rewrite_rules', 'wpfc_sermon_podcast_feed_rewrite');

    The problem is that the rewrite specified on line 135 basically takes over ALL files with an XML extension, which of course causes issues for any other XML files that are generated on the WordPress site.

    Since we’re also using WordPress SEO by Yoast, we just commented out line 139 that activates that code for the site – then re-save the permalink settings as mugwumpman noted, and this fixes the issue. I’ll submit this information to the Sermon Manager author as well – but wanted to note it here, given the above questions ??

    FWIW,
    twykr

    That worked like a charm, thank you both!

    Matt

    (@mugwumpman)

    Nice one, thanks twykr!

    We just now heard about this problem from a potential member. I have submitted this bug to the developer for resolution. I’ll post when this issue is resolved.

    wpforchurch_allen, is there any chance this bug has been addressed by the developer?

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘[Plugin: Yoast WordPress SEO] ERROR: This is not a valid feed template.’ is closed to new replies.