Author |
Topic |
|
Mark Priest
VP-CART Expert
United Kingdom
580 Posts |
Posted - August 25 2012 : 05:35:50
|
Hi All,
I have friendly URL's set up on my version 6.5 cart and the [formatimage sub] generates a nice url such as.
/store/Street+Fighter_523.htm
But how can I get this to work for text links instead of <a href="shopexd.asp?id=[catalogid]">
Regards,
Mark Firework Crazy |
|
diegomilito
VP-CART Expert
Argentina
779 Posts |
Posted - September 20 2012 : 04:57:23
|
mark, i did not know how your formatimage sub look like, you can somehow looking at the formatimage sub file and then you apply the same code to the format text link.. this is just an idea, but not technical help.
diego. |
|
|
manilow
VP-CART New User
France
134 Posts |
Posted - September 20 2012 : 09:31:34
|
Mark, I am using the vpasp 7.0 and developed SEO routines in order to display friendly URLs. These routines are called each time a URL is displayed (using the standard v7.0 code like genseoproductlink).
I created an extra field in the product and category tables: SEOurl. This field contains the URL to be displayed, which you can choose freely, as long as it starts with pxxx- and finishes by .htm (xxx being the product ID). Using an ISAPI .htaccess file, the URLs are translated to shopexd.asp?id=xxx (or shopdisplayproducts.asp?ID=xxx or shopdisplaycategories.asp?ID=xxx).
This way avoids generating these URLs each time a page is loaded and results in a quicker page load. Another important reason is to avoid URL change when you change a product’s category. This happens when using URLs like: category/subcat/product.htm.
However, this takes some coding, as well in the database as in the vpasp files. I wondered what the vpasp support would think of such approach.
Regards,
Erik www.aquathermia.com
|
|
|
support
Administrator
4679 Posts |
Posted - September 20 2012 : 20:50:33
|
Hi Erik,
Our SEO Toolkit already allows the URL's to be rewritten in a friendly format.
If you have a look at our demo you can see we now use the category name and the product name in the url:
http://demo700.vpasp.com
Thank you.
Cam Flanigan VP-ASP Cart Support
Follow us on Twitter: http://www.twitter.com/vpasp
************************************ Did you know VPASP now offers premium Cloud based e-commerce web hosting?
Ask me for more details on how we can help you with a complete solution to your online needs. ************************************ |
|
|
manilow
VP-CART New User
France
134 Posts |
Posted - September 21 2012 : 03:26:29
|
Cam
Thanks for your reply.
Looking at the demo, the product URLs are like:
http://demo700.vpasp.com/products/4-Kitchen/14-Cookware-Set/
What happens if you change the category of this particular product ? It seems to me that its URL will change accordingly.
Saving the product URL in the database would avoid any URL change, no matter the categories it's placed in.
Regards,
Erik www.aquathermia.com
|
|
|
devshb
Senior Member
United Kingdom
1904 Posts |
|
|
Topic |
|