Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

Broken Download Links In Email

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Troubleshooting › Broken Download Links In Email

  • This topic has 6 replies, 4 voices, and was last updated 13 years, 7 months ago by leonurus.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • November 19, 2011 at 1:31 am #4811
    leonurus
    Member

    So, sometimes the download link they get looks like this:

    http://www.idea.net/downloads/download.php?file=tbhgdQQZT8cMe8Nd

    And sometimes the download link looks like this:

    http://www.idea.net/downloads/download.php?file=tOzsnghtT8cNe8R5lX4FnldgRb5ApD5%2BLMugxIc%2BLxW58%2Fm7iuSn7sJVLPEAIDYAu1wnK0ZhHuFzGEyvngs3rQt62Sao0MOnwgg2aLPUIBba5rJn8H4F41ImhcqWjYvNHMk%2FxpNL7bn2B7is

    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 #38674
    wzp
    Moderator

    It is the email client that is “breaking” the hyperlink. As for shortening the links, please have a look at this…

    https://support.tipsandtricks-hq.com/forums/topic/link-shortener-feature-request

    November 19, 2011 at 4:40 am #38675
    leonurus
    Member

    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 #38676
    admin
    Keymaster

    Updated the plugin so the link shortening works on the “Thank You” page display too.

    November 20, 2011 at 4:37 am #38677
    leonurus
    Member

    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”

    page.)

    I need more input; thanks, man.

    November 20, 2011 at 7:12 am #38678
    Peter
    Member

    Hi,

    To get the additional link shortening functionality you’ll have to load a fresh build of the plugin.

    See this link for instructions:

    https://support.tipsandtricks-hq.com/forums/topic/re-install-or-load-a-fresh-build-of-the-plugins

    November 22, 2011 at 4:23 am #38679
    leonurus
    Member

    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.

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ