Rank: Member
Joined: 1/18/2018(UTC) Posts: 17
|
My store is installed in a subfolder /estore/ Site.standard url is correct but product.product url is adding and extra sub folder into the url. How can I fix this? Thank you, [[Site.StandardUrl]][[Product.ProductURL]] from email - https://www.domain.com/e...S-516__076711004507.aspxcorrect url - https://www.domain.com/e...S-516__076711004507.aspxEdited by user Saturday, January 5, 2019 5:39:51 PM(UTC)
| Reason: Not specified
|
|
|
|
Rank: Administration
Joined: 4/2/2004(UTC) Posts: 2,393 Location: Hummelstown, PA Thanks: 6 times Was thanked: 163 time(s) in 158 post(s)
|
It could be a bug in an older version. We've fixed a number of pathing issues over the years when running BVC in a sub-folder. |
Aaron Sherrick BV Commerce Toll-free 888-665-8637 - Int'l +1 717-220-0012 |
|
|
|
Rank: Member
Joined: 1/18/2018(UTC) Posts: 17
|
I think I'm running the latest version. Are there updates that I don't know about? How can we resolve the issue?
|
|
|
|
Rank: Administration
Joined: 4/2/2004(UTC) Posts: 2,393 Location: Hummelstown, PA Thanks: 6 times Was thanked: 163 time(s) in 158 post(s)
|
Actually, I don't think this is a bug but rather an artifact of running your store in a sub-folder. The [[Site.StandardUrl]] will include the full path to the store homepage, which includes the sub-folder (e.g. https://www.domain.com/estore/). The [[Product.ProductURL]] is a root-relative URL (e.g. /estore/products/Lixit-Water-Bottle-Kit-GB-KIT-S-516__076711004507.aspx). So, if you use these two replacement tokens together it will result in a doubling of the sub-folder. The workaround is to replace the [[Site.StandardUrl]] token with a hard-coded URL that omits the sub-folder (e.g. https://www.domain.com). |
Aaron Sherrick BV Commerce Toll-free 888-665-8637 - Int'l +1 717-220-0012 |
|
|
|
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.