• Toll-free  888-665-8637
  • International  +1 717-220-0012
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

spt251067
#1 Posted : Thursday, June 26, 2008 8:18:17 AM(UTC)
spt251067

Rank: Member

Joined: 7/27/2005(UTC)
Posts: 40

We've got almost 3000 products on a new version of our site so rather than enter each Rewrite URL individually I ran an update query in the databse to set the RewriteURL field in the bvc_product table as follows:


update bvc_product set rewriteurl=productname + '-' + sku + '.aspx'



After doing this the product pages are not found. I noticed that if you manual enter the rewriteurl then the value is prefixed with '/' on saving so I updated my values to include the forward slash prefix. Still product pages are not found. Comparing the format of values updated via a query and updated via the BVC admin console the formats are exactly the same. Now really wierd - if I open one of the problematic records in BVC admin and save then the product page is subsequently found under the url alias but the value for rewriteurl in the product table has not changed at all.



I really don't want to visit 3,000 records in the admin console to get around this - can anyone explain what is going wrong?



thanks



Simon
spt251067
#2 Posted : Thursday, June 26, 2008 8:23:52 AM(UTC)
spt251067

Rank: Member

Joined: 7/27/2005(UTC)
Posts: 40

Ok - found out the answer. There is a separate bvc_CustomURL table which gets populated on product save so I'll have to write a query to emulate that.

Simon
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

©2024 Develisys. All rights reserved.
  • Toll-free  888-665-8637
  • International  +1 717-220-0012