Go Back   WarriorForum - Internet Marketing Forums > Warrior Support Forums > Website Design
Register Blogs FAQ Social Groups CalendarHelp Desk

Reply
 
LinkBack Thread Tools
Old 04-29-2009, 06:25 PM   #1
websiteshostingreviews.co
War Room Member
 
mistyone's Avatar
 
Join Date: Jan 2008
Location: Blenheim, New Zealand.
Posts: 490
Thanks: 221
Thanked 37 Times in 29 Posts
Contact Info
Send a message via MSN to mistyone Send a message via Yahoo to mistyone Send a message via Skype™ to mistyone
Post Make files available for download on a WP site

Hi all

I have a number of wordpress sites that I would like to load pdf files to be available for site visitors to download, such as ebooks.

I have tried uploading a pdf file into my public.html directory and created an href for it but when I click on the link all I get is a 404 page. The file name has for example: important reasons for detoxification.pdf
I created this href to be like this:

<a href="http://sitenamedotcom/importantreasonsfordetoxification.pdf">Important reasons for detoxification</a>

What do I need to change to allow the pdf to open for them to read or save to their computer?

Cheers
Viv

mistyone is offline   Reply With Quote
Old 04-29-2009, 07:12 PM   #2
Advanced Warrior
 
Abledragon's Avatar
 
Join Date: May 2007
Location: Hong Kong.
Posts: 961
Thanks: 3
Thanked 173 Times in 153 Posts
Social Networking View Member's Twitter Profile 
Contact Info
Send a message via Skype™ to Abledragon
Default Re: Make files available for download on a WP site

I create a specific folder for downloads and upload all files to that.

I then create the link in Wordpress, but be sure to copy the filename of the file you uploaded, because capitalisation, spelling etc are critical, and paste that into the url you create.

Best check is to see if you can access the file by simply typing the url into your browser address bar. As soo as you successfully access the file copy that url from your address bar to the link you're creating.

Cheers,

Martin.

Abledragon is offline   Reply With Quote
Old 04-29-2009, 08:19 PM   #3
Senior Warrior Member
War Room Member
 
mywebwork's Avatar
 
Join Date: Sep 2008
Location: Honolulu, Hawaii, USA & Montreal Canada
Posts: 2,218
Blog Entries: 1
Thanks: 759
Thanked 724 Times in 505 Posts
Default Re: Make files available for download on a WP site

Hi Viv

Martin is correct, I suspect that it may be an issue of capitalization. LINUX servers are very sensitive to that.

A couple of thoughts:

1 - If these PDF's are for sale, or if you would like to collect e-mail addresses before permitting downloads you could use e-Junkie:

E-junkie Shopping Cart for selling downloads & tangible goods

They will collect your users e-mail and send them a temporary download link. They also host the files and integrate with PayPal if you want to sell the e-books. It's really cheap - about 5 US dollars a month (make sure you search the web for coupons, you can always find a 3 or 4 month free coupon for eJunkie somewhere).

2 - If you are going to host the files yourself I would add a target="_blank" statement to your hyperlink, to open the PDF in a new window on those browsers that are setup to open the file (as opposed to downloading it). That way your main site will still be displayed.

Bill

P.S. Got your PM, sorry I haven't answered -been a crazy week with deadlines and all. I will respond to you very shortly, just wanted you to know I wasn't ignoring you!
mywebwork is offline   Reply With Quote
Old 04-29-2009, 09:08 PM   #4
websiteshostingreviews.co
War Room Member
 
mistyone's Avatar
 
Join Date: Jan 2008
Location: Blenheim, New Zealand.
Posts: 490
Thanks: 221
Thanked 37 Times in 29 Posts
Contact Info
Send a message via MSN to mistyone Send a message via Yahoo to mistyone Send a message via Skype™ to mistyone
Post Re: Make files available for download on a WP site

Hey Martin and Bill

Thank you both for your useful information.

I am quietly working away at this and absorbing everything you are telling me

Bill, I am wanting to do both of those things with the files, so I will investigate using e-Junkie. Thanks for that

I did wonder about how to make the file open in another window. So I will try and write into the code what you have told me.

I am always willing to give things a go and I am learning heaps and heaps

I look forward to hearing from you when you are all caught up Bill, no rush

Cheers
Viv

mistyone is offline   Reply With Quote
Old 04-29-2009, 10:15 PM   #5
www.vetwriter.com
War Room Member
 
Audrey Harvey's Avatar
 
Join Date: Dec 2005
Location: Brisbane, Australia.
Posts: 1,181
Thanks: 109
Thanked 315 Times in 236 Posts
Social Networking View Member's FaceBook Profile 
Default Re: Make files available for download on a WP site

Viv, Wordpress has the facility to upload media through it's own interface. If you look at the top of the box where you type in the text for a post, there are little icons for "add image", "add video", "add audio" and "add media". You can use the latter to upload your pdf's, then use it's url in your page/post as a download url. Works a treat.

Cheers

Audrey

Audrey Harvey is online now   Reply With Quote
Old 04-30-2009, 05:13 AM   #6
websiteshostingreviews.co
War Room Member
 
mistyone's Avatar
 
Join Date: Jan 2008
Location: Blenheim, New Zealand.
Posts: 490
Thanks: 221
Thanked 37 Times in 29 Posts
Contact Info
Send a message via MSN to mistyone Send a message via Yahoo to mistyone Send a message via Skype™ to mistyone
Post Re: Make files available for download on a WP site

Hi Audrey

That's a brilliant piece of info. I use that facility all the time for images and I never gave it a thought for uploading pdf files for downloads.

I will definitely give it a try

And may I say how nice it is to meet someone from down under

Cheers
Viv

mistyone is offline   Reply With Quote
Old 04-30-2009, 06:38 AM   #7
websiteshostingreviews.co
War Room Member
 
mistyone's Avatar
 
Join Date: Jan 2008
Location: Blenheim, New Zealand.
Posts: 490
Thanks: 221
Thanked 37 Times in 29 Posts
Contact Info
Send a message via MSN to mistyone Send a message via Yahoo to mistyone Send a message via Skype™ to mistyone
Default Re: Make files available for download on a WP site

Hi Audrey

I have just used the uploader and it has worked an absolute treat, thank you so much for helping me with this

Cheers
Viv

mistyone is offline   Reply With Quote
Old 04-30-2009, 06:42 AM   #8
www.vetwriter.com
War Room Member
 
Audrey Harvey's Avatar
 
Join Date: Dec 2005
Location: Brisbane, Australia.
Posts: 1,181
Thanks: 109
Thanked 315 Times in 236 Posts
Social Networking View Member's FaceBook Profile 
Default Re: Make files available for download on a WP site

Hi Viv

You're very welcome, glad I could help :-)

Audrey

Audrey Harvey is online now   Reply With Quote
Old 04-30-2009, 10:05 AM   #9
Active Warrior
War Room Member
 
WebScript's Avatar
 
Join Date: Aug 2008
Location: Villa Park, Illinois, USA.
Posts: 68
Thanks: 28
Thanked 8 Times in 8 Posts
Default Re: Make files available for download on a WP site

Quote:
Originally Posted by mistyone View Post
Hi all

I have a number of wordpress sites that I would like to load pdf files to be available for site visitors to download, such as ebooks.

I have tried uploading a pdf file into my public.html directory and created an href for it but when I click on the link all I get is a 404 page. The file name has for example: important reasons for detoxification.pdf
I created this href to be like this:

<a href="http://sitenamedotcom/importantreasonsfordetoxification.pdf">Important reasons for detoxification</a>

What do I need to change to allow the pdf to open for them to read or save to their computer?

Cheers
Viv
Hi Viv,

I am glad you found a solution that works for you.

Keep in mind that you also need to be careful of using spaces in the filenames as that could be a cause of some problems too.

For example, in your original post, you mentioned the filename was:
"important reasons for detoxification.pdf"

but when you showed the url, the spaces were omitted
"hxxp://sitename.com/importantreasonsfordetoxification.pdf"

this won't work because the filenames are not identical.

I would avoid using spaces in filenames although you may not always be able to.
The problem with using spaces in filenames is that although the file is named:
"important reasons for detoxification.pdf",

for URL's you need to encode spaces as "%20" which is the "Hexcode" for a space.

So the file would be accessed in a URL as:
"hxxp://sitename.com/important%20reasons%20for%20detoxification.pdf"

To avoid all those issues, you could replace all spaces in the original filename with "-" (dashes). That way, "important-reasons-for-detoxification.pdf" is the same when used as a filename or as a URL.

Kevin
WebScript is offline   Reply With Quote
Old 05-01-2009, 12:16 AM   #10
websiteshostingreviews.co
War Room Member
 
mistyone's Avatar
 
Join Date: Jan 2008
Location: Blenheim, New Zealand.
Posts: 490
Thanks: 221
Thanked 37 Times in 29 Posts
Contact Info
Send a message via MSN to mistyone Send a message via Yahoo to mistyone Send a message via Skype™ to mistyone
Default Re: Make files available for download on a WP site

Hi Kevin

I did wonder if I had made an error with the file name and href being different so thanks for that clarification. That is why I showed how I had set things up so that if what I had done was incorrect someone would have picked that up and you did so that has helped me a lot, thank you

Cheers
Viv

mistyone is offline   Reply With Quote
Old 05-07-2009, 02:37 PM   #11
Active Warrior
War Room Member
 
Join Date: May 2009
Posts: 73
Thanks: 1
Thanked 4 Times in 4 Posts
Default Re: Make files available for download on a WP site

Also if you are using Wordpress there are some great plugins for Sharing files. Simply go to wordpress (dot) org and search the plugin directory.

Search under:
Download Manager

EXPRESSO - THE ULTIMATE WORDPRESS THEME FRAMEWORK

71 templates, Color changer, Background constructor, dynamic gradients & so much more!

Use WSO promocode warriorforum to get 15% off any purchase!
CaffeinatedWorld is offline   Reply With Quote
Reply

  WarriorForum - Internet Marketing Forums > Warrior Support Forums > Website Design

Tags
download, files, make, site

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -6. The time now is 10:06 PM.