s06e02 - XML Sitemaps SUPPORT / QUESTIONS

Open to all! Ask other shopowners for help.
User avatar
burt
Core Team
Posts: 4550
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 252 times
Been thanked: 412 times

Re: s06e02 - XML Sitemaps

Post by burt »

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.
I am not here to build for you.
I am here to build with you. Let's help each other.

Tags:


Join The Code Co-op to get access to your library in the Code Co-op Forum
Needleguy

Re: s06e02 - XML Sitemaps

Post by Needleguy »

Thank you for your reply. URL looks lie this:

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

Post by ecartz »

Needleguy wrote: Sun Jul 10, 2022 1:36 am 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.
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

Post by Needleguy »

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.
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

Post by ecartz »

Needleguy wrote: Sun Jul 10, 2022 5:49 pm Ok, mine has "shop".
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).
User avatar
ReneH4
Contributor
Posts: 145
Joined: Mon Oct 26, 2020 12:00 pm
Phoenix Version:
Has thanked: 13 times
Been thanked: 17 times

Re: s06e02 - XML Sitemaps

Post by ReneH4 »

My best guess is that it's a .shop domain, not a .com domain.
Needleguy

Re: s06e02 - XML Sitemaps

Post by Needleguy »

Yes I would like it to be:
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

Post by lecarlb »

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.
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

Post by lecarlb »

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.
I'm still waiting on assistance. Thanks again.
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

Post by ecartz »

lecarlb wrote: Sun Sep 04, 2022 8:51 am I'm just trying to determine which addon will cause this.
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.


Join The Code Co-op to get access to your library in the Code Co-op Forum
Post Reply