Wrong path for sitemap.xml

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
gfxinternetservices
Ensign (ENS)
Ensign (ENS)
Posts: 17
Joined: Wed Oct 24, 2007 4:43 pm
Location: Fair Oaks, CA
Contact:

Wrong path for sitemap.xml

Post by gfxinternetservices » Mon Sep 29, 2008 4:15 pm

I tried generating an XML sitemap file via the administration panel, however I received a denied access to the path error.

Originally the website's development location was referenced in a different location. Then once it was in the production stage, it was moved to an alternate folder / domain. It seems that it has the previous folder logged versus what appears under the "Store URL" under "Configure" > "Store".

Any idea where I can modify the path?

Thanks.
Russ Miller
GFX Internet Services
Design - Development - Hosting
http://www.GFXInternetServices.com/

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: Wrong path for sitemap.xml

Post by jmestep » Mon Sep 29, 2008 5:10 pm

The only place I can think of checking is when you click to generate the sitemap.xml. It normally goes into the root of the site and the sitemap name is one of the input boxes when you go to generate the site. Make sure that doesn't have a folder specified.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

gfxinternetservices
Ensign (ENS)
Ensign (ENS)
Posts: 17
Joined: Wed Oct 24, 2007 4:43 pm
Location: Fair Oaks, CA
Contact:

Re: Wrong path for sitemap.xml

Post by gfxinternetservices » Mon Sep 29, 2008 5:39 pm

Thanks for the response Judy.

There is not folder specified in the "SiteMap File Name" input box (assuming that's what you were referring to). Just to clarify, let's say the website was first setup under website-ac7.com and then later was changed to just website.com. Well the control panel I use (Helm 3), creates a folder by the website address. So right now, when I create sitemap.xml, it's trying to place it under d:\website-ac7.com\wwwroot\SiteMap.xml instead of d:\website.com\wwwroot\SiteMap.xml
Russ Miller
GFX Internet Services
Design - Development - Hosting
http://www.GFXInternetServices.com/

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Re: Wrong path for sitemap.xml

Post by AbleMods » Tue Sep 30, 2008 6:53 am

Look for an existing sitemap.xml file and delete it if it exists. Then try to create one.

If it succeeds, some incorrect permissions were copied over when the site was moved to the new location.

If it still fails, permissions are not correct on your new location. Contact your hosting provider and request the permissions be corrected on all your site files.

Either way, you're bound to encounter other issues as well if the permissions were wrong. I'm guessing the file permissions on your site didn't get reset properly when the site was moved.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

User avatar
Shopping Cart Admin
AbleCommerce Admin
AbleCommerce Admin
Posts: 3055
Joined: Mon Dec 01, 2003 8:41 pm
Location: Vancouver, WA
Contact:

Re: Wrong path for sitemap.xml

Post by Shopping Cart Admin » Tue Sep 30, 2008 8:38 am

Hello All,

I've seen this before in a site migration, however I cannot remember off the top of my head where the physical directory path is stored.
Thanks for your support

Shopping Cart Guru
AbleCommerce.com
Follow us on Facebook

gfxinternetservices
Ensign (ENS)
Ensign (ENS)
Posts: 17
Joined: Wed Oct 24, 2007 4:43 pm
Location: Fair Oaks, CA
Contact:

Re: Wrong path for sitemap.xml

Post by gfxinternetservices » Tue Sep 30, 2008 9:47 am

I figured it out. The setting is under the "ac_StoreSettings" table. On row 67, I edited the FieldName: CommonSiteMap_SiteMapDataPath. Once updated I was able to generate the sitemap.
Russ Miller
GFX Internet Services
Design - Development - Hosting
http://www.GFXInternetServices.com/

User avatar
Shopping Cart Admin
AbleCommerce Admin
AbleCommerce Admin
Posts: 3055
Joined: Mon Dec 01, 2003 8:41 pm
Location: Vancouver, WA
Contact:

Re: Wrong path for sitemap.xml

Post by Shopping Cart Admin » Tue Sep 30, 2008 9:48 am

Hello,

If you open the table ac_StoreSettings you'll find a row which has the physical path for the xml feeds, which needs to be updated to the new directory.
Thanks for your support

Shopping Cart Guru
AbleCommerce.com
Follow us on Facebook

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Re: Wrong path for sitemap.xml

Post by AbleMods » Tue Sep 30, 2008 9:52 am

doh!

Why store the physical path??? Nothing else stores the physical path does it??
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

gfxinternetservices
Ensign (ENS)
Ensign (ENS)
Posts: 17
Joined: Wed Oct 24, 2007 4:43 pm
Location: Fair Oaks, CA
Contact:

Re: Wrong path for sitemap.xml

Post by gfxinternetservices » Tue Sep 30, 2008 10:04 am

The YahooShopping_FeedDataPath under the same table also references the physical path. I believe that's it.
Russ Miller
GFX Internet Services
Design - Development - Hosting
http://www.GFXInternetServices.com/

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Re: Wrong path for sitemap.xml

Post by AbleMods » Tue Sep 30, 2008 10:54 am

gfxinternetservices wrote:The YahooShopping_FeedDataPath under the same table also references the physical path. I believe that's it.
If one marketing feed does it, all the feeds do it. They all use the same class for storing the settings. Checked my ac_StoreSettings and that is the case.

So you're going to want to check for those as well, they'll need to be adjusted too.

Learn something new every day :roll:
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

Post Reply