s06e02 - XML Sitemaps SUPPORT / QUESTIONS
-
ecartz
- Core Team
- Posts: 3084
- Joined: Tue Nov 05, 2019 6:02 pm
- Phoenix Version:
- Has thanked: 4 times
- Been thanked: 208 times
Re: s06e02 - XML Sitemaps
Also change the XML on line 95 of includes/system/override/gb/xml_writer.php to sitemap. Along with all the XML_ stuff.
Tags:
-
artfulweb
- Contributor
- Posts: 184
- Joined: Thu Oct 29, 2020 12:34 pm
- Phoenix Version: v1.1.0.6
- Has thanked: 29 times
- Been thanked: 14 times
Re: s06e02 - XML Sitemaps
Thanks Matt, did that and the maps are generated but as sitemap_categories_1.xml. Why the underscore and the "1"?
-
Omar_one
- Senior Contributor
- Posts: 677
- Joined: Fri Oct 25, 2019 5:06 pm
- Phoenix Version: v1.0.8.16
- Has thanked: 100 times
- Been thanked: 56 times
Re: s06e02 - XML Sitemaps
for the underscore
change line to 97 in includes/system/override/gb/xml_writer.php
to
Code: Select all
$doc->save(DIR_FS_CATALOG . implode('', $filename) . '.xml');-
Omar_one
- Senior Contributor
- Posts: 677
- Joined: Fri Oct 25, 2019 5:06 pm
- Phoenix Version: v1.0.8.16
- Has thanked: 100 times
- Been thanked: 56 times
Re: s06e02 - XML Sitemaps
the "1" it's come from the same file line 16
and line 95
Code: Select all
$n = 1;Code: Select all
$filename = ['sitemap', $what, $n];- burt
- Core Team
- Posts: 4550
- Joined: Tue Oct 29, 2019 9:37 am
- Phoenix Version: v1.1.0.8
- : Buy Me A Beverage
- Has thanked: 252 times
- Been thanked: 412 times
Re: s06e02 - XML Sitemaps
You need multiple sitemaps if the number of items in the sitemap exceeds a certain number (I can't remember the number off the top of my head).
I am not here to build for you.
I am here to build with you. Let's help each other.
I am here to build with you. Let's help each other.
-
artfulweb
- Contributor
- Posts: 184
- Joined: Thu Oct 29, 2020 12:34 pm
- Phoenix Version: v1.1.0.6
- Has thanked: 29 times
- Been thanked: 14 times
Re: s06e02 - XML Sitemaps
Does that create a problem for Google? Also I noticed that when using the great addon Name Based URLs the sitemaps do not use them, whereas the old Google Sitemaps do as an example :
<url>
<loc>https://www.xxx.com/lang-yarns-merino-2 ... .html</loc>
<lastmod>2022-07-04</lastmod>
<changefreq>weekly</changefreq>
<priority>0.1</priority>
</url>
Something maybe to add on to this module?
- burt
- Core Team
- Posts: 4550
- Joined: Tue Oct 29, 2019 9:37 am
- Phoenix Version: v1.1.0.8
- : Buy Me A Beverage
- Has thanked: 252 times
- Been thanked: 412 times
Re: s06e02 - XML Sitemaps
Multiple sitemaps is a benefit to Google. It is what they ask for.
If a URL addon does not work with another addon (yet the other addon is correctly using tep_href or the newer Links), it is the URL addon that is broken and needs updating..
If a URL addon does not work with another addon (yet the other addon is correctly using tep_href or the newer Links), it is the URL addon that is broken and needs updating..
I am not here to build for you.
I am here to build with you. Let's help each other.
I am here to build with you. Let's help each other.
-
raiwa
- Certified Developer
- Posts: 1640
- Joined: Sat Dec 21, 2019 8:08 am
- Phoenix Version: 1.1.0.6
- : Buy Me A Beverage
- Has thanked: 70 times
- Been thanked: 152 times
Re: s06e02 - XML Sitemaps
I see these warnings under PHP 8.0 in admin/index.php?action=do_XML:
Code: Select all
Warning: Undefined property: xml_tree::$breadcrumb_usage in C:\xampp_8.0\htdocs\phoenix_pro\includes\system\override\gb\xml_tree.php on line 41
Warning: Undefined property: xml_tree::$max_level in C:\xampp_8.0\htdocs\phoenix_pro\includes\system\override\gb\xml_tree.php on line 51
Warning: Undefined property: xml_tree::$max_level in C:\xampp_8.0\htdocs\phoenix_pro\includes\system\override\gb\xml_tree.php on line 51
Warning: Undefined property: xml_tree::$breadcrumb_usage in C:\xampp_8.0\htdocs\phoenix_pro\includes\system\override\gb\xml_tree.php on line 41Public Phoenix Change Log Cheat Set on Google Sheets
https://docs.google.com/spreadsheets/d/ ... sp=sharing
Need Help?viewtopic.php?f=10&t=27
https://docs.google.com/spreadsheets/d/ ... sp=sharing
Need Help?viewtopic.php?f=10&t=27
-
Needleguy
s06e02 XML Site Maps
Is it possible to change the URL to sitemaps and remove the word "shop". I would like the sitemat to be:
https://***.com/sitemap.html or xml.
https://***.com/sitemap.html or xml.