#1 April 18, 2019 8:19am

doon.mok
Member
Registered: May 6, 2015
Posts: 141

Sitemap - hide comment

Just updated v4.4.3 locally and want to remove the comment "Generated by the BigTree CMS https://www.bigtreecms.org." from sitemap.xml. I know I can remove it from the original sitemap.php but I copied sitemap.php and moved it to /custom/inc/bigtree folder. The comment is still showing up.
I deleted the sitemap.xml from the cache folder as well so it would create a new one but that didn't work.

Should I be editing the original sitemap.php?

Thanks

Offline

#2 April 18, 2019 9:24am

timbuckingham
Administrator
From: Baltimore, MD
Registered: April 2, 2012
Posts: 974

Re: Sitemap - hide comment

No, you were doing it right! It looks like the sitemap updates recently didn't allow for overwriting that file in custom. I just pushed a fix to 4.4-devel for that:
https://github.com/bigtreecms/BigTree-C … a275e91898

I'm going to try to get BigTree 4.4.4 out tomorrow so this will be addressed in that release.

Offline

#3 April 18, 2019 9:36am

doon.mok
Member
Registered: May 6, 2015
Posts: 141

Re: Sitemap - hide comment

Thank you Tim!

Offline

Board footer

Powered by FluxBB

The Discussion Forum is not available on displays of this size.