- This topic has 3 replies, 3 voices, and was last updated 14 years, 1 month ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › Digital product URL
I’ve purchased full version of estore.
The problem I have is related to the digital product URL. When setting up a product I can add it’s picture by putting url in this format “../wp-content/uploads/products/image.jpg”, and this works fine.
However when I want to add the product in the same format, the download link will not work, so I always have to put full url http://mydomain.com/wp-content/download/product1.zip
If I will want to change my website address in the future, having 100’s product will cause an issue, becasue product pictures will work but then I will have to manualy change all download links.
Is there a way around it so I can only point the download link to the directory on the server instead of putting the whole download link?
Are you talking about changing domain names? If so, according to the WordPress CODEX, you’ll have more than just eStore to worry about:
Yes, you can use relative URL in the “Digital Product URL” field. You just need to remember that the URL must be relative to the “wp-cart-for-digital-products” directory.
What that means is the if your FULL URL looks like the following:
http://mydomain.com/wp-content/download/product1.zip
Then the relative URL for this file will be the following:
../../download/product1.zip
In case you didn’t know how relative URL in UNIX system works here is a bit of explanation:
“..” means one directory up. So two of them puts you in the “wp-content” directory. You can just go to your file from there.
This did resolve my issue. Thank you for your help