I am trying to generate sitemaps using the Companion Sitemap Generator plugin, but I keep encountering the message: “We had to create a file first, please update the sitemap again.”
To troubleshoot, I have:
sitemap.xml
file in the website’s directory, yet the error remains.Despite these efforts, I’m still unable to generate the sitemap. Does anyone know what could be causing this issue and how to fix it?
]]>Hello.
I am using “Companion Sitemap Generator” v4.5.9.3 with WordPress 6.7 and Polylang 3.6.5. The translation mappings are incorrect in the XML file:
<loc>https://www.domain.com/fr/a-propos/</loc>
<xhtml:link
rel="alternate"
hreflang="fr"
/>
Instead of:
<loc>https://www.domain.com/fr/a-propos/</loc>
<xhtml:link
rel="alternate"
hreflang="fr"
/>
This behavior also occurs on older sites with different versions of Companion Sitemap Generator, WordPress, and Polylang. Therefore, I believe this is not a compatibility issue between versions but rather a bug in Companion Sitemap Generator.
Could you please fix and update the plugin?
Thank you in advance.
]]>An invalid date was found. Please fix the date or formatting before resubmitting.
Parent tag: url
Tag: lastmod
This is an error we got after submitting the xml on GSC.
]]>I keep getting this error over and over again on the page I display the .html on.
Warning: Undefined variable $post_type in?********/wp-content/plugins/companion-sitemap-generator/csg_functions.php?on line?417
]]>As somebody said before, the additional pages tab, you can paste your additional pages, but when you press the button, all the contents disappear.
Ubuntu 22.04.4 LTS, Plesk Obsidian, WordPress 6.5.4, php 8.1.2
]]>Hello
I get PHP warnings:
[14-May-2024 20:32:13 UTC] PHP Warning: Undefined property: stdClass::$onorof in /home/webpages/…/wp-content/plugins/companion-sitemap-generator/csg_functions.php on line 146
[14-May-2024 20:32:13 UTC] PHP Warning: Undefined property: stdClass::$onorof in /home/webpages/…/wp-content/plugins/companion-sitemap-generator/csg_functions.php on line 146
Using Apache 2.4 – PHP 8.1.28 (64bit capable) – WP 6.5.3.
Please have a look. Regards, Mike
]]>Additional Pages tab is blank, even if you fill something and save.
So the plugin turned into useless
]]>Where can i find to remove this additional page title?
I don’t have any additional pages to add and wanted it to remove
https://ibb.co/Wx3XJ1f
Hello Team,
My sitemap says 40 URLs but line 40 is blank.
Also when I check in Search Console, there is an error for the Sitemap. Error is:
This is not a valid URL. Please correct it and resubmit.
Examples
URL:
Line 72
Parent tag:
url
Tag:
loc
Please help in resolving the issue. Thanks!
]]>How can I prevent Type, Scope, and Module Width from appearing on the site map? See https://rolfresearchfoundation.org/sitemap . I used the Content Filter tab and all occurrences of Type are unchecked. There isn’t an option to remove Scope or Module Width.
Thanks for your help.
]]>I love Companion Sitemap Generator! We use it in many of the wordpress sites that we maintain. We are having a problem with an installation on a specific website and are receiving this error: “This XML file does not appear to have any style information associated with it. The document tree is shown below.” Any idea of why this might be and how to resolve it? At this point the plug-in isn’t generating a sitemap.
I’m going to deactivate the plug-in for now until I can find a working solution.
Hi there.
How can I exclude a single page from the XML list? I use a custom 404 page and I don’t want it to be included.
Thanks
]]>Is something planned to fix the problem?
Reported from https://www.wordfence.com/threat-intel/vulnerabilities/id/ccf0d482-b4a1-47a8-8741-0970531e9630
To protect your site from this vulnerability, the safest option is to deactivate and completely remove “Companion Sitemap Generator” until a patched version is available
]]>Hello,
Please see on the URL shared of my sitemap.
In my articles (that is, my blog Posts), only 2 posts are listed on the HTML page of the sitemap.
But when I click on the plugin settings, look at all the pages listed.
How to fix this?
Thank you
]]>
Why articles appear in the sitemap in any order. Why don’t they appear in the order of publication? Can we reclassify them?
Can we reclassify the pages of the site in the sitemap?
Thanks for any information on this issue.
The plugin does not save any settings. Can you tell me why?
https://www.selagro.com/
Hello. Thanks for nice plugin. Thank you dear developer.
Wordpress produces photos as follows, they appear in the source.
<p><figure id="attachment_42" aria-describedby="caption-attachment-42" style="width: 300px" class="wp-caption alignnone"><img loading="lazy" src=".../wp-content/uploads/2022/10/photo-4333517-300x200.jpeg" alt="foto?raf denemesi 7" width="300" height="200" class="size-medium wp-image-42" srcset="../wp-content/uploads/2022/10/photo-4333517-300x200.jpeg 300w, ../wp-content/uploads/2022/10/photo-4333517-1024x683.jpeg 1024w,../wp-content/uploads/2022/10/photo-4333517-768x512.jpeg 768w, ../wp-content/uploads/2022/10/photo-4333517-1536x1024.jpeg 1536w, ../wp-content/uploads/2022/10/photo-4333517-2048x1365.jpeg 2048w" sizes="(max-width: 300px) 100vw, 300px" /><figcaption id="caption-attachment-42" class="wp-caption-text">foto?raf denemesi 7</figcaption></figure> foto?raf denemesi 7</p>
However, this plugin writes the largest image, which is not visible on the front page, and ends with “scaled”, to the sitemap file.
<url>
<loc>.../genel/fotograf-denemesi-7-41/</loc>
<lastmod>2022-10-29</lastmod><changefreq>monthly</changefreq>
<image:image>
<image:loc>../wp-content/uploads/2022/10/photo-4333517-scaled.jpeg</image:loc>
</image:image></url>
How can we add automatically produced 300px, 1024px, 768px, 1536px, 2048px photos?
Again, many users, including me, use <picture> element codes in addition to the above wp automatic photo html code. Is it possible to make the photos mentioned here appear on the sitemap page?
Thanks in advance, have a nice day.
]]>Hello,
Look, when I tried I select the first 2 pages to exclude them from my HTML sitemap, it does not work.
This is the message I get as a result: The link followed has expired.
How can I correct/bypass this?
]]>Hi, I just want to report the following error message.
PHP Fatal error: Uncaught Error: Call to undefined function get_home_path() in /public_html/wp-content/plugins/companion-sitemap-generator/csg_functions.php:109
Stack trace:
WordPress version 6.0.2
PHP version 7.4.30
Let me know if you need more information.
Thank you.
]]>Hi,
Here is a screenshot of the sitemap generated byt the plugin for my site.
The xml sitemap does not seem to be updated even after I clicked the update button.
Look at it.
Why is it different from the HTML sitemap.
1 – Why can we see the page https://meilleurslivres.org/livre-sushi-2/ in the XML sitemap?
This page does not exist.
2 – Why can’t we see the page https://meilleurslivres.org/developpement-personnel/livre-emotions?
3 How to remove the “cateorgy” word from the URL in teh xwm sitemap?
Thank you
For example:
]]>I just installed this plugin to my WordPress and I want to thank the team behind it! Great tool!
Now here is my question. I’m not a coder but I stumbled across this article: Then, how can I add images to my XML and HTML sitemaps?
]]>Hi! Thank you for your plugin! You are the best ??
I found that the automatic update does not work. I removed the space in this line: ‘csg_create_sitemap’ (companion_sitemap.php), but it didn’t help. Please help me ??
Hello,
I need to change the path for https://www.tigerbalm.com/sitemap-12.xml file.
I want like this: https://www.tigerbalm.com/subfolder/sitemap-12.xml
It is multisite website.
]]>We are getting this 300+ times a second
ALTER TABLE wp_csg_sitemap CHANGE COLUMN onoroff
onoroff TEXT NOT NUL
this has crippled our website causing it to go offline
Please investigate
]]>Thank you for the update.
I am still missing the option to remove the change frequency from the sitemap.
Can you please guide me on how to do that from the plugin setting page?
Thank you
Hi. I installed this plugin as it seemes to be a good sitemap creator for multisite install.
Unfortunately it does not seem to create more than the main domains sitemap with an addition the subdomains ID. I do need it to use the mapped domain in the sitemap.
I have only acitvated this plugin on one of the subdomains mapped to https://wesenlund.se/sitemap-11.xml and there is a sitemap with links to the subdomain only. How to get passed that problem?
]]>Hi,
I want to hide the following elements in my sitemap html:
– Type
– Scope
– Module Width
– Projects categories
How to do it?
– I use the Divi theme version: 4.9.7.1624266705
– Worpress version: 5.8.2
– Companion Sitemap Generator version: 4.4.0
Thank you very much.
]]>Is it possible to exclude the exact page?
]]>Is this compatible with translatepress or is there a plan to make them compatible? We are looking for a solution to automatically create multilingual sitemap, but it seems only one sitemap is created, in the original language.
]]>Hi! Is there a way to filter out woocommerce product variants from the sitemap?
This is how it looks in the sitemap file. I just want to get products as it looks on the first line in the example below. Not the variants.
https://b2b.idigdenim.com/product/bruce-slim-jeans/
https://b2b.idigdenim.com/product/bruce-slim-jeans/?attribute_pa_kids-youth-single-sizes=86%26attribute_pa_farg=light-blue
https://b2b.idigdenim.com/product/bruce-slim-jeans/?attribute_pa_kids-youth-single-sizes=92%26attribute_pa_farg=light-blue
https://b2b.idigdenim.com/product/bruce-slim-jeans/?attribute_pa_kids-youth-single-sizes=98%26attribute_pa_farg=light-blue
Many thanks
]]>