• Resolved Anonymous User 9948090

    (@anonymized-9948090)


    Hello

    I’m using AIO SEO plugin since many years without any problem. Now I want to replace my “XML Sitemap Generator” plugin with AIO SEO’s Sitemap module.

    I checked and found the Sitemap module of AIO SEO plugin contains everything which exists in “XML Sitemap Generator” plugin.

    But I’m having one problem which is stopping me from the switch.

    AIO SEO’s Sitemap module creates the compressed file with “sitemap.xml_.gz” name. I want to know why does it add an extra underscore ‘_’ in the gz file name? “XML Sitemap Generator” plugin doesn’t add the underscore and it creates the compressed file with “sitemap.xml.gz” name.

    So I want to know how to fix it in AIO SEO plugin? I want to do this because I have submitted the “sitemap.xml.gz” file to Google and Bing searchengines.

    Thank you.

    http://wordpress.org/plugins/all-in-one-seo-pack/

Viewing 15 replies - 1 through 15 (of 31 total)
  • Yet Another WP User,

    I’ve seen this happen before, but cannot reproduce it here; what is the url to your site? Do you have any other plugins running that might be conflicting here? In the meantime, you can turn compressed sitemaps off and submit your sitemap again.

    Thread Starter Anonymous User 9948090

    (@anonymized-9948090)

    ^^ Thanks for your reply. I appreciate it. Sorry but I cant share website URL. I tried it with a freshly installed WordPress + Akismet plugin but it was still creating sitemap.xml_.gz file.

    Thread Starter Anonymous User 9948090

    (@anonymized-9948090)

    UPDATE: I also tried following:

    Installed WordPress locally using InstanWP. It came with 4 built-in plugins. I removed all 4 plugins and then installed AIO SEO plugin only. Still its creating sitemap.xml_.gz file.

    That means it has nothing to do with other plugins. Strange things is that same things are happening in actual website as well as locally installed WordPress.

    I’ll highly appreciate if you check the issue and fix it. I cant switch to AIO SEO Sitemap until this issue is fixed. I’m sure many other people would be also facing this issue.

    Thanks again for your awesome plugin.

    Yet Another WP User,

    Thanks for the bug report; I’ll see if I can test and reproduce this issue on another server.

    Thread Starter Anonymous User 9948090

    (@anonymized-9948090)

    ^^ Welcome. I’ll wait for the fix. 🙂

    Yet Another WP User,

    I still can’t reproduce this issue, so, a few more questions for you.

    What version of InstantWP are you using – is it 4.3.1?

    What platform are you on; are you on Windows?

    What version of All in One SEO Pack are you using – is it 2.0.3.1?

    Thread Starter Anonymous User 9948090

    (@anonymized-9948090)

    ^^ Latest versions of InstantWP and AIO SEO i.e. InstantWP 4.3.1 and AIO SEO 2.0.3.1.

    Platform: Windows.

    I didnt change anything. Just installed InstantWP, removed build-in plugins, installed AIO SEO and created sitemap.

    Ok; we’re a Mac shop here, so most everything I test on is Mac or Linux; I’ll see if I can get an instance of InstantWP running today or tonight so I can test this out.

    Thread Starter Anonymous User 9948090

    (@anonymized-9948090)

    ^^ Thanks for your quick responses and support. I appreciate it. I hope you’ll be able to recreate and fix the issue. 🙂

    Me too, of course; can you tell me what settings you use / change on the sitemap? enabling sitemap indexes and compressed sitemaps I assume; any others?

    Thread Starter Anonymous User 9948090

    (@anonymized-9948090)

    I tried with default settings but it still created sitemap.xml_.gz file. I also tried to disable sitemap indexing and a few other options but didnt work. So basically it doesnt matter which options are enabled or disabled, it always creates sitemap.xml_.gz file for me.

    Ok; that’s interesting because that basically shouldn’t happen. Can you try renaming that file and see if it gets regenerated? Or opening it up and verifying that it’s coming from All in One SEO Pack?

    Thread Starter Anonymous User 9948090

    (@anonymized-9948090)

    ^^ When I rename it and again build sitemap using the plugin, it creates a new sitemap.xml_.gz file.

    I tried to open sitemap.xml_.gz file and found that it contained sitemap.xml_ file instead of sitemap.xml file.

    Thread Starter Anonymous User 9948090

    (@anonymized-9948090)

    Any update? Did you try to recreate the issue on Windows machine?

    Yes, I was able to reproduce this behavior on Windows; so far it looks like an issue with the sanitize_file_name() function under Windows – it seems to be adding in that stray underscore character. However, this only appears to happen in the plugin when files are written, so that shouldn’t affect the dynamically generated sitemaps. One option is you could search through aioseop_sitemap.php for sanitize_file_name() and remove that function call and see if that fixes your issue – basically in the write_sitemap() function you’d be changing that line to this:

    $filename = get_home_path() . $filename;

Viewing 15 replies - 1 through 15 (of 31 total)
  • The topic ‘[Problem] AIO Sitemap Module Creates Sitemap.xml_.gz File’ is closed to new replies.