latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Amazon S3 download redirects to home page

Home Forums Community Forum Amazon S3 download redirects to home page

This topic contains 10 replies, has 3 voices. Last updated by  Julian Awad 3 years, 1 month ago.

Topic Author Topic
Posted: Monday Oct 28th, 2013 at 6:02 am #60680
Julian Awad
Username: DaJules

Hi Guys,

I would like to serve all my downloadable files through Amazon S3 CDN.
However I created a bucket specially for those files, added the Access and Secret Key in the s2member download options, but when I tested the link, it redirects me to my home page instead to download the file. My link has this format:

http://mysite.com/?s2member_file_download=ultimate-landing-page-advanced-1_1_4_0000.zip

This is just an example zip file in that bucket, but I am not able to download it – after I click the link, I am landing to my homepage, instead of downloading the file.

Please help!
Julian

List Of Topic Replies

Viewing 10 replies - 1 through 10 (of 10 total)
Author Replies
Author Replies
Posted: Monday Oct 28th, 2013 at 11:46 pm #60714

We are also experiencing this problem, however intermittently. I just wrote a post yesterday about JWPlayer not playing files, and how files will not download (or get redirected to home page).

Posted: Tuesday Oct 29th, 2013 at 5:50 am #60726
Julian Awad
Username: DaJules

I double and triple checked all the options in our installation and everything looks OK, but the link still doesn’t start download and instead of this redirects to the home page.

Posted: Tuesday Oct 29th, 2013 at 6:05 am #60727
cassel
Username: cassel

When you create a downloadable link for a file on Amazon S3, how can you have a s2member in the file?

I have lots of files stored in S3 and get the downloadable links from Amazon, NOT my s2M installation. My link will start with something like this: https://s3.amazonaws.com/name of the bucket/name of the file(this would be a downloadable video by the way). Maybe check that route?

Posted: Tuesday Oct 29th, 2013 at 6:21 am #60728

Cassel,

You could do that if you just want to provide your files for free to the public. However, our multimedia books and publications are created and marketed by a team of professionals and are downloadable after purchase only, either by membership or by purchasing that particular CCAP item. We prefer to use a membership website over shopping cart since many of our products are bundled together with on-going training programs for businesses. However, we’re in talks with another company to transfer all our products and training programs to their membership solutions since we’re experiencing quite a lot of issues on a daily basis. For example, this afternoon from 3pm to 5:30pm none of our sound files would play and none of our downloads would deliver. Then suddenly they started working again at 5:30pm. Of course, our office received half a dozen phone calls, and just as many emails asking “what’s going on???”

If I were to ask S2 Member for an explanation for every phone call and email we get, they’d be swamped.

Posted: Tuesday Oct 29th, 2013 at 7:27 pm #60740
cassel
Username: cassel

I am using that method with s2M. I simply wrap the download link inside the conditional shortcode so ONLY those with the correct ccap can see the link, so it is protected. It is not accessible to the public.

Posted: Tuesday Oct 29th, 2013 at 10:51 pm #60743

Cassel,

That’s exactly what we’re doing. If they have access to that CCAP, we wrap the download link inside the CCAP conditional shortcode. We’re also using “s2member_file_inline=no” in our code so that the file is forced to download rather than display in the browser. However, those who have access to that download link, for some strange reason, are getting redirected to the front page of the website. And that “inline” function doesn’t work as the PDFs always open in our browsers. Of course once the PDF is open we can save it, but sometimes clients just want to download and open later.

I really hope somebody posts a solution or a workaround to the problem.

Posted: Tuesday Oct 29th, 2013 at 11:03 pm #60745
cassel
Username: cassel

Just a note on pdf. I also have mp4 and pdf in my class and I find that the users don’t always want to open the pdf right then and there, so I zip each file. That way, it ONLY downloads.

OK, it might not address your other question, but I thought of adding that tidbit of info about pdf.

I do wonder, however, if that “s2member_file_inline=no” code you are using might cause the redirect? Can you try with a zip file so that code is not necessary and see if it still redirects? A bit of a troubleshooting idea.

Posted: Saturday Nov 9th, 2013 at 1:52 pm #60969
Julian Awad
Username: DaJules

Hi Cassel,

Thanks for your advice, but nothing has changed after I zipped the file – still redirects me back to the home page.

@Michael – did you manage to solve your problem?

Posted: Sunday Nov 10th, 2013 at 1:06 am #60979

@Julian,

It’s nice to see a response here. Before I write this response I’d like to remind everyone that we are fully paid customers of S2Member Pro and have been in support of the continued development of this product since we bought it 6 months ago.

No, we have not solved the problem with downloads redirecting to the front page, as our team is not made up of engineers but rather teachers and writers. It happens every time, and I’ve only found it works correctly on IE (which I hate using) on only one of our office computers (not the others). Also our multimedia (MP3 files) do not stream 100% of the time from AWS; it’s more like 50%, which is dismal. Meantime, we have opened a separate bucket on AWS and set our files public and then put the download links into emails and sent them off to clients. I wish we could spend more time on our specialtise of teaching and writing than on technical issues, but our client’s experience on our site is of paramount importance.

So although clients are satisfied, the problem remains: the user experience on our site is flawed and is nothing that they want to rave or share about with their friends. We have over 50,000 fans across 3 FB pages, so the user experience, interactivity, and fun is very important for word of mouth marketing. S2M may not realize that out of the 678 fans I see on their page, most of us are business owners who then showcase their (S2M) product to hundreds of thousands or millions of other consumers on the internet. When they have a less-than-acceptable user experience or otherwise experience a loss of money and not get what they pay for, it not only reflects on our brands, our companies’ reputations, our services, but it also reflects negatively on S2Member, and in my opinion this is enough to get lawyers involved. There’s a discrepancy between the advertisement of the product, the user agreement, and what the client actually receives. However in his defense, if S2Member instead charged 1% for every product sold through all its clients, he’d be able to afford the time and workforce to address all these issues, we alone would be contributing many thousands to his income per year. We’re a small but growing team, but we don’t see the necessity for hiring tech people full time in our line of business when most of the solutions we need already exist, and it’s part of our competitive advantage in our market.

So we come to the point of alternate solutions: we have been testing and implementing Woocommerce, for which I see several benefits:

1. They have a team of several dozen people working on it. So it’s not a single guy in his free time (and maybe a couple helpful fans) trying to fix a product who doesn’t make enough money off of to start a real business operation (I don’t know anybody who actually does that though). But I prefer a team of people who can complete user experience testing in all areas, not just trying to add lots of bells and whistles. Basically, S2M is selling a cheap product out-of-the-box with laissez-faire attitude and no liability to the user experience as described in the user agreement. In fact, he’s not even invested in the experience or our results in doing business or he’d change his business model. And if he was concerned with user experience, he wouldn’t place a notice above this box I’m typing in that says “Support Reps are NOT present here, for company support…” That’s just an excuse and it reflects on how out-of-touch he is with his clients. ALL feedback should be addressed and taken into consideration, no matter where it’s written: FB, Twitter, the “wrong” forum, wherever.

2. Woocommerce is open-source coding platform, so it comes with educational training plugins, like Sensei, which would be great for our business model. And many many other plugins, like memberships, Amazon store, a myriad of business solutions, integration with SalesForce, integration with WPML for multilingual sites like ours… These plugins come at a price, but I believe you need to invest in your own professionalism if you expect your clients to trust your brand, products, and services. I asked S2M earlier this year about integration with WPML and the response was basically have WPML contact me if they want it, which I view as some sort of superiority complex, rather than a helpful-let’s-all-work-together attitude and build the next best thing. Personally, I was asking myself why am I now obligated to do this? Although I have an invested interest, the attitude alone told me that he was not concerned in making it really come to fruition.

3. Since Woocommerce has an actual shopping cart, it solves a problem that S2M doesn’t have: buying more than one product at a time (which we achieve now through ccaps). We’ll still need to leave S2M running on the hundreds of old posts we’ve already created until we get everything cleaned up.

But for now, it’s time we part ways and invest no more effort in S2M.

Posted: Tuesday Nov 12th, 2013 at 10:38 am #61046
Julian Awad
Username: DaJules

Hi Michael,

I solve the problem – we had a landing page installed instead of WordPress, so that caused the redirect. Once I changed it back to WP it worked!

Wish you luck!

Viewing 10 replies - 1 through 10 (of 10 total)

This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.