Custom URL "activation"
Posted: Tue Apr 05, 2011 9:58 am
Hi gang,
I have a program called Sync that populates our store from an external database. I just modified Sync to create a custom URL so Old-Town-Trolley-P37.aspx becomes Old-Town-Trolley.aspx The Sync program writes this directly to ac_CustomUrls table. It works great with one exception... when I sync a new product and then try to navigate to it in the store I get a 404 - Not Found error. If I go into any product in the Administrator side and click on Save then the new product can be found with the custom url.
I have a feeling that it is similar to the 5.0 Rewrite Rules where something has to be activated to go out and re-establish the custom-to-real url conversion but I'm at a loss to find it. Is there a function I can call or something I can do to trigger this 're-mapping' after Sync finishes?
Thanks!
I have a program called Sync that populates our store from an external database. I just modified Sync to create a custom URL so Old-Town-Trolley-P37.aspx becomes Old-Town-Trolley.aspx The Sync program writes this directly to ac_CustomUrls table. It works great with one exception... when I sync a new product and then try to navigate to it in the store I get a 404 - Not Found error. If I go into any product in the Administrator side and click on Save then the new product can be found with the custom url.
I have a feeling that it is similar to the 5.0 Rewrite Rules where something has to be activated to go out and re-establish the custom-to-real url conversion but I'm at a loss to find it. Is there a function I can call or something I can do to trigger this 're-mapping' after Sync finishes?
Thanks!