WordPress.org

Ready to get started?Download WordPress

Forums

Strictly Google Sitemap
[resolved] Only duplicate posts in sitemap.xml (7 posts)

  1. kokopelli
    Member
    Posted 3 years ago #

    Thanks for this plugin, it's great and I've started to switch all my sites to it.

    But I just noticed something strange on one of my sites - after installation and setup, one XML sitemap with 13,683 entries was created manually. Under "Build Options" I have the defaults (Include Homepage, Include Articles, Include Pages).

    However, the sitemap itself (sitemap.xml) contains only the Homepage, the 25 Pages and the first post 13,657 times! In other words, no other posts (articles) are included, only the latest post, and it's duplicated about 13,657 times in the sitemap.xml ... (I didn't count it manually, but there are no other posts listed).

    Any ideas?

    Thanks.

    P.S. I'm running WP 3.1 and Strictly Google Sitemap V1.0.7. and are using most of the plugin defaults, except for having selected "Auto" and "behind the Scenes" build, and adding Yahoo to be pinged.

    http://wordpress.org/extend/plugins/strictly-google-sitemap/

  2. kokopelli
    Member
    Posted 3 years ago #

    I just had a look at the sitemaps of some of my other sites, that were also generated with this plugin, and I'm seeing the same issue there ...

    Is it just me/my sites, or is this problem reproducible?

  3. Strictly Software
    Member
    Plugin Author

    Posted 3 years ago #

    I need more info about your setup, the build parameters you are using in the plugin, the version of wordpress & sitemap and so on as I haven't seen this problem and I am using it on a number of sites.

    For example this site is still on WordPress 3.0.1 and is using a siteindex with 2 sitemap files (everything selected) and the Build XML with SQL and Join with PHP) - No dupes:

    http://www.hottospot.com/sitemap.xml
    http://www.hottospot.com/sitemap-1.xml
    http://www.hottospot.com/sitemap-2.xml

    this site is on wordpress 3.1 and is using one sitemap file and the Build and Join with SQL option - No Dupes

    http://www.darkpolitricks.com/sitemap.xml

    Maybe you are you using some sort of multisite, unusual folder/DB setup that isn't supported by the plugin? Without knowing more about your setup I cannot really help much.

  4. kokopelli
    Member
    Posted 3 years ago #

    No, my WordPress installations are fairly standard (no multisite, unusual folder/DB setup), and as I said:

    I'm running WP 3.1 and Strictly Google Sitemap V1.0.7. and are using most of the plugin defaults, except for having selected "Auto" and "behind the Scenes" build, and adding Yahoo to be pinged.

    Here's one example: http://referer.us/9/4bPfg
    (Please don't post the real URL/domain here)

    The plugins used on this site are listed here:
    http://referer.us/7/KqCbo1
    (Please don't post the real URL/domain here)

    You (the developer) can email me if you want access to the WordPress backend: j7U7Jl9Sj7t3@meltmail.com (email expires in 24 hours)

    Thanks.

  5. Strictly Software
    Member
    Plugin Author

    Posted 3 years ago #

    I know I am a bit late in replying but those links are not showing me anything e.g a 404 (list of plugins) and the sitemap is another plugin.

    Could you not just run my plugin alongside and just output to a different filename e.g /strictly-sitemap.xml. Just don't set it up to ping or output in robots.txt.

    You can also email me directly by just going to my website and using the contact form.

    I cannot think of a reason why you would be getting duplicate posts for all your articles at all unless you are somehow running the wrong SQL statements but I cannot think of a reason why that would happen.

    Have you tried the standard fixes e.g

    -disable all other plugins you have and try it. If it works re-enable one by one until you find the culprit
    -re-install the plugin
    -turn on debug and pipe out the SQL and other statements

    I have not come across this before so without seeing your database or the SQL it's trying to run it's hard to diagnose.

  6. muqeetsoomro
    Member
    Posted 2 years ago #

    I am using plugin but Got the Error It shows blank page when I manually build I had 15000 posts

  7. Strictly Software
    Member
    Plugin Author

    Posted 2 years ago #

    I have a number of sites with 50,000 + articles and tens of thousands of tags and the manual rebuild takes less than 2 seconds. I also use a virtual server and have tweaked it for performance which you should probably look into.

    You might need to increase your timeout setting on your webserver as it defaults to 30 seconds I believe. Also reduce your Max Connections from the default to 256 to whatever your RAM can handle 200MB for your MySQL DB plus 30-40MB per connected user and anything else running at the time. So a 1GB RAM server would use anything from 15-22 as the value for Max Connections.

    if you import posts from feeds you shouldn't rebuild after every post only at scheduled intervals and you should turn on error reporting or check your Apache error logs to see what the error was when you got the blank page.

    Also try the different build options to see if that helps e.g build all with DB calls & join with PHP or the other one.

    You may also have an overloaded server at the time of building which would cause an even slower build (especially with shared hosting etc)

    Run the TOP command on your terminal service panel if you have one to see what the server load is (anything above 1 means it is doing too much)

    Or if you haven't got access to that then install something like my System Check plugin which will tell you the server load and how stressed the server is.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic