November 19, 2011 at 1:31 am #4811
So, sometimes the download link they get looks like this:
And sometimes the download link looks like this:
So one of them is nice and small, and the other one is massive and ugly.
Moreover, the massive one has a tendency to break, meaning, the first part
of the URL will be hyperlinked in blue (i.e., clickable) while the rest of the link
is just plain text.
To be clear.. this part is in blue: http://www.idea.net/downloads/
…and the rest of it is just normal text: download.php?file=tOzsnghtT8cNe8R5lX4FnldgRb5ApD5%2BLMugxIc%2BLxW58%2Fm7iuSn7sJVLPEAIDYAu1wnK0ZhHuFzGEyvngs3rQt62Sao0MOnwgg2aLPUIBba5rJn8H4F41ImhcqWjYvNHMk%2FxpNL7bn2B7is
Therefore, the only way to download it is to copy/paste, since clicking
the link results in a “404 not found.”
So my question is, how do I make it so that it uses only short links,
instead of the super long one’s?
Also, is there a way to use some kind of shortlink method, like with
TinyURL? That would be the optimal solution, in my case.
Thanks!November 19, 2011 at 3:43 am #38674wzpModerator
It is the email client that is “breaking” the hyperlink. As for shortening the links, please have a look at this…November 19, 2011 at 4:40 am #38675
Alright, so I edited the “eStore_advanced_configs.php” file and changed the
line to “true”, i.e., define(‘WP_ESTORE_AUTO_SHORTEN_DOWNLOAD_LINKS’, true);
…and it’s awesome. The download links look like this: http://goo.gl/J3ZK1
…which is great, thank you.
The only problem is that the “Thank You” page (that the customer gets redirected
to after the paypal purchase) still uses long links.
I can live with it, but if there’s a solution it would look more professional
if the smaller (http://goo.gl/J3ZK1) links were both in the email as well
as on the “Thank You” page.
Let me know!November 20, 2011 at 2:00 am #38676adminKeymaster
Updated the plugin so the link shortening works on the “Thank You” page display too.November 20, 2011 at 4:37 am #38677
OK, so, what do I need to do on my end? (I just did a test sale,
and the old, super-long links still appear on the “Thank You”
I need more input; thanks, man.November 20, 2011 at 7:12 am #38678PeterMember
To get the additional link shortening functionality you’ll have to load a fresh build of the plugin.
See this link for instructions:November 22, 2011 at 4:23 am #38679
OK, I deactivated the plugin, downloaded the latest version, uploaded
and overwrote everything, re-activated, and did a test sale.
Then I had to re-do the edit in “eStore_advanced_configs.php”
and set it back to “true”, i.e., define(‘WP_ESTORE_AUTO_SHORTEN_DOWNLOAD_LINKS’, true);
And now, the shortlinks work in both the thank-you page as well
as in the email. Awesome, thanks guys.
- You must be logged in to reply to this topic.