Are you saying that your URLs look (eg) like this: yourdomain.com/shop/product_info.php?products_id=x
If `yes`, it would mean your Phoenix files are in a folder called "shop", hence your store is at yourdomain.com/shop/
To get rid of that "/shop/" part of your URL, you would need to move all your Phoenix files down one level (and change configure files appropriately to remove mmention of "shop".
If this is not the case, please explain a bit more and will try to help.
s06e02 - XML Sitemaps SUPPORT / QUESTIONS
- burt
- Core Team
- Posts: 4547
- 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
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.
Tags:
-
Needleguy
Re: s06e02 - XML Sitemaps
Thank you for your reply. URL looks lie this:
https://epdepot.com/philmore-35mm-gold- ... -p-12.html
Perhaps I installed something incorrectly?
https://epdepot.com/philmore-35mm-gold- ... -p-12.html
Perhaps I installed something incorrectly?
-
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 Site Maps
You tell us what you want the sitemap to be. But what is it now that you want to change?
Here's a typical sitemap URL: https://template.me.uk/PRO/S6/XML_index.php
No shop in that. So it would seem that shop is something from your configuration, not from how we set things up.
-
Needleguy
Re: s06e02 - XML Sitemaps
Ok, mine has "shop". I'll take another look. Probably something I did wrong but not sure what.
Site map should be:
https://***.com/sitemap.xml
Thanks.
Site map should be:
https://***.com/sitemap.xml
Thanks.
-
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
Has shop where? What is the URL now? Here's at least four (three before Rene's suggestion) examples that would fit
https://shop.***.com/sitemap.xml
https://***.com/shop/sitemap.xml
https://***.com/shopsitemap.xml
https://***.shop/sitemap.xml (thanks, Rene)
While they can all be described as "having shop", that would be three separate solutions (the first and fourth would have essentially the same solution in Phoenix).
-
Needleguy
Re: s06e02 - XML Sitemaps
Yes I would like it to be:
https://***.com/shopsitemap.xml
The XML files are in the website root directory. Thanks.
https://***.com/shopsitemap.xml
The XML files are in the website root directory. Thanks.
-
lecarlb
- Contributor
- Posts: 316
- Joined: Mon Oct 26, 2020 5:26 pm
- Phoenix Version:
- Has thanked: 48 times
- Been thanked: 9 times
Re: s06e02 - XML Sitemaps
Hello,
I have version 1.0.8.16 and using the latest version of XML Sitemaps addon and Raiwa's latest version of Name Based Urls Demo addon.
My issue is when the xml sitemap is generated the links appear as https://www.mydomain.com/product_info.p ... cts_id=167 instead of https://www.mydomain.com/red-nigerian-l ... p-167.html. Google alerted me in search console.
I'm just trying to determine which addon will cause this.
Thanks for any help.
I have version 1.0.8.16 and using the latest version of XML Sitemaps addon and Raiwa's latest version of Name Based Urls Demo addon.
My issue is when the xml sitemap is generated the links appear as https://www.mydomain.com/product_info.p ... cts_id=167 instead of https://www.mydomain.com/red-nigerian-l ... p-167.html. Google alerted me in search console.
I'm just trying to determine which addon will cause this.
Thanks for any help.
-
lecarlb
- Contributor
- Posts: 316
- Joined: Mon Oct 26, 2020 5:26 pm
- Phoenix Version:
- Has thanked: 48 times
- Been thanked: 9 times
Re: s06e02 - XML Sitemaps
I'm still waiting on assistance. Thanks again.lecarlb wrote: ↑Sun Sep 04, 2022 8:51 am Hello,
I have version 1.0.8.16 and using the latest version of XML Sitemaps addon and Raiwa's latest version of Name Based Urls Demo addon.
My issue is when the xml sitemap is generated the links appear as https://www.mydomain.com/product_info.p ... cts_id=167 instead of https://www.mydomain.com/red-nigerian-l ... p-167.html. Google alerted me in search console.
I'm just trying to determine which addon will cause this.
Thanks for any help.
-
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
This change will make this add-on call the catalog hooks so that the URLs get rewritten.
But it will require a new version of Name-based URLs to work with it. The new version will be included with Pro 1.0.8.19.
If you have the paid version of Name-based URLs, you could probably get an update from raiwa sooner.
Note that applying just the core change without the name-based URLs update will break this add-on. The proper order is to update name-based URLs first and core second. As Burt already observed, this add-on is already correct.