ant42
Forum Replies Created
-
Forum: Plugins
In reply to: [SEOPress - AI SEO Plugin & On-site SEO] Empty canonical URL on homepageOK, thank you!
Forum: Plugins
In reply to: [SEOPress - AI SEO Plugin & On-site SEO] Empty canonical URL on homepageCould you please advise — is this a bug? Is there a way to fix it?
The canonical tag used to be generated before, but disappeared after one of the updates.
Thank you!
I think flushing the entire cache makes sense in that scenario – better than having stale content.
I noticed that cache is purged when opening the “Add New Review” page (
/wp-admin/post-new.php?post_type=site-review), rather than when actually saving/publishing a review – thought I’d mention it in case it’s unintended.For me it’s not a critical issue since I only add reviews with assigned posts. In my case, I’d prefer to flush cache only for those assigned pages rather than the entire site. Or alternatively, disable the full cache purge via hook and clear specific pages programmatically. Please let me know if there’s a way to do this!
- This reply was modified 8 months ago by ant42.
Thank you for the quick response!
Just wanted to add: the same issue happens when I simply click “Add New Review” in admin – entire cache is purged even before saving anything.
[2025-10-04 13:14:05] DEBUG [Integrations\Cache\Controller:95] cache::flush_after_post_cache_cleaned
[2025-10-04 13:14:05] DEBUG [Integrations\Cache\Controller.php:112] cache::flushing [all]
[2025-10-04 13:14:05] DEBUG [Integrations\Cache\Controller:23] cache::flush_after_review_created
[2025-10-04 13:14:05] DEBUG [Integrations\Cache\Controller.php:112] cache::flushing [all]Are there any updates on this issue? I haven’t received a response in over two months, and I’d really appreciate any guidance.
Forum: Fixing WordPress
In reply to: Issue with Non-Existent Sitemap URLs Causing Homepage DuplicationAre you using the default WordPress sitemap without any plugins?
I also tried running WordPress on Apache, and the issue persists. My setup:
• WordPress 6.7.1
• PHP 8.2.20
Forum: Fixing WordPress
In reply to: Issue with Non-Existent Sitemap URLs Causing Homepage DuplicationI understand your point, but this behavior is inconsistent with how WordPress normally handles non-existent URLs.
• http://tatata.local/does-not-exist correctly returns a 404 status code and displays the content from 404.php.
• http://tatata.local/wp-sitemap-postsss-post-1.xml incorrectly returns a 200 status code and shows the homepage content instead of a 404 error.
• http://tatata.local/wp-sitemap-postsss-post-2.xml does return 404 correctly.
I think there is some kind of issue here with how WordPress handles certain malformed sitemap URLs.
Forum: Fixing WordPress
In reply to: Issue with Non-Existent Sitemap URLs Causing Homepage DuplicationNo, I am not using any SEO plugins.
To verify the issue, I just installed a clean WordPress instance locally (webserver: Nginx). The problem persists:
• http://tatata.local/wp-sitemap-posts-post-1.xml correctly loads the sitemap.
• http://tatata.local/wp-sitemap-postsss-post-1.xml (which should not exist) displays the homepage content instead of returning a 404 error.
This suggests that WordPress is not properly handling invalid sitemap URLs, causing them to load the homepage instead of returning a proper 404 response.
Forum: Plugins
In reply to: [Site Reviews] Missing Star Rating Templates in Site Reviews PluginThank you for your prompt response. I would like to clarify a point regarding the first option you mentioned in the FAQ for customizing the stars.
Does the hook mentioned there only allow replacing the default star images with custom images? Or can I use the hook to replace the stars with a custom HTML tag, such as <i class=”sr-star ai-star-filled text-warning”></i>? If yes, how can this be done?