Rolf Allard van Hagen
Forum Replies Created
-
Forum: Plugins
In reply to: [XML Sitemap & Google News] Sitemap can be read, but has errorsErrors in Google Search Console can will take a while to go away. I checked your sitemaps and they all work correctly now.
But the yearly Post sitemaps are a bit slow. You can try setting the option “Split by” to “Month” for Posts on Settings > XML Sitemap on the Post types tab. This will create more but faster sitemaps in the index.
It might also help to modify a recent post, even if you do not change any text (just resave the post) so that the Last modified date changes in the sitemap. Then resubmit the sitemap index either via the WordPress admin (if you set up a Google API connection) or in Google Search Console directly. This might trigger Google to revisit your sitemap and see that the error has gone.
Forum: Plugins
In reply to: [XML Sitemap & Google News] Sitemap can be read, but has errorsHi, there is an error output from your theme that breaks the sitemap XML code. You can see the error at the top of every page on your site https://asianicinsights.com:
Warning: Undefined array key “auto_login_key” inΒ …Β on lineΒ 3
Your first step should be to prevent errors from being public. Do you have WP_DEBUG set to true in your wp-config.php? If so, and if you are not actively monitoring errors, consider setting it to false.
Then add these lines:
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );
@ini_set( 'display_errors', 0 );If that does not help, try to set
display_errorsto 0 in your server/hosting PHP settings.Next, you might want to fix the issue that causes the warning message. It seems related to your theme…
Then it must be caused by some setting in WPML itself. You’ll need to contact WPML support…
So you are seeing the ghost posts even with only WPML enabled, no other plugins? And your theme? Have you tried switching to a default twenty twenty-x theme?
I do not have access to your dev site…
Do the core WP sitemaps (with XML Sitemap & Google News plugin disabled) not have these ghost posts?
Forum: Plugins
In reply to: [XML Sitemap & Google News] class-sitemap-news-settingsFixed in the latest .6 release π
Hi, that is extensive testing indeed… The thing is: I cannot reproduce this issue on my dev site with the latest versions of WPML, XML Sitemap & Google News and WordPress.
I have my dev site with default set up, and the core WPML plugin (only, not any other WPML plugin activated) and two languages configured. The base language has one post (Hello world) and one page (Sample page) and the second language only a translation of that page, no posts. Then the XML Sitemap & Google News with default settings.
Both sitemaps and feeds are correct for all languages, no “ghost” posts anywhere.
I have the impression that there must be a third plugin on your site that is causing this problem…
Could you try to deactivate all other plugins on your staging site? Start with no plugins except WPML and verify the default WordPress sitemaps wp-sitemap.xml for each language to see if there are any ghost posts there. If not, enable one by one the other plugins to find out when the issue starts…
Forum: Plugins
In reply to: [XML Sitemap & Google News] class-sitemap-news-settingsHi Rodrigo, thanks for reporting! It will be fixed asap.
I’m wondering if this is not a bug in WPML because when I look at your site main RSS feeds, for example https://www.digiforma.com/es/feed/ then I notice these ghost posts appear there as well. The feeds are not part of the sitemap plugin.
Could you try to create at least one (temporary) post for each language to see if that changes the behavior of both the feeds and the sitemaps? If that changes the WPML behavior, try setting these temporary posts to Private or maybe even Draft status to see what happens…
Question: could you tell me what happens if you switch the Server setting to WordPress on Settings > XML Sitemap ?
Hi Peter, thank you for reporting this. I’ll have to work on a fix to get these WPML ghost posts out of the sitemaps.
Thank you Adam, it’s all looking good π
Perfect, thanks for following up π
Forum: Plugins
In reply to: [WooCommerce] Client histories wrongYep, already left a 5 star review π
Forum: Plugins
In reply to: [WooCommerce] Client histories wrongOk, perfect. I’ll mark this resolved and I thank you for all your help π