Downloading of zip file from my web hosting - wordpress

I have some zip files uploaded in my public_html folder and the following links are not working:
http://www.indragni.com/android/TimePickerSample.zip
https://www.indragni.com/android/TimePickerSample.zip
However when I use the following URL, then it works:
indragni.com/android/TimePickerSample.zip
I have 400 videos on Youtube which use the first link type. It will be lot of hasstle to fix them all one by one. Is there any setting in wordpress or inside cpanel etc where I can make the files to be downloaded even after usig http or https in the front.
I have SSL enabled on my website.

Related

upload files in Godaddy cpanel, then create download link in WordPress. Possible?

I want to upload some video files in a GoDaddy cpanel folder, then create a downloadable link in a webpage and source it to that folder. I am assuming WordPress does not communicate with other folders in cpanel.
I am also getting this error
Unexpected response from the server. The file may have been uploaded successfully. Check in the Media Library or reload the page.
my
Maximum upload file size: 1 GB. I changed the configuration.
GoDaddy Rep suggested to optimize files and upload it inside WP.
Found it LOL
You can link to a file on your host (in my case GoDaddy).
The file path will be:
http://www.YourSiteName.com/TheFolderName/FileName
Then you just create the link and use that path in WordPress web page Download Link.
The other upload issue is being fixed by GoDaddy engineers. Cheers

404 Error on Images Locally with WAMP/phpMyAdmin

I recently set up a WAMP server using phpMyAdmin and am having issues displaying images pulled from my website hosted via Pantheon. I've got everything running fine, but the images will not display.
I've exported my website's database via Pantheon and imported with phpMyadmin and the theme loads correctly, but not any images. It's running on WordPress as well. I've tried to find specific examples of this happening, but I'm not sure what the deal is. Any information would be appreciated.
If i get it right you exported you wp site and imported it at a local machine ?
Have you checked / changed the site url in wp ?
If in wp the site url dont match the real url the links to the files can get broken ..
Look at our site code in browser and there you should find the image link to see what wp realy try to load.
Solved. Had to extract the contents of the .tar file into the "uploads" directory, twice. There was no explanation to do this in any of the documentation I could find, I didn't understand how .tar files work.

Why hundreds of images have disappeared from my Upload folder?

I had a website on OVH host, everything was working fine.
An image file named https://mywebsite/wp-content/uploads/2015/11/htilominlo-1-1118x745.jpeg was showing the image on front, and was in the upload folder.
I decided to change the host. I'm now on o2switch. They made the transfert of the entire website.
Now the process is finished, but there are hundreds of images missing on front, like the one above, and they are not anymore in the upload folder.
Can someone tell me what could be the reason ?
The website files and folders are still on the old ovh host, I can see them through ftp filezila. But the missing images on front are not anymore in the upload folders....mystery..
firstly, rename the uploads folder to uploadsbck on your new host. Secondly, copy the uploads folder of previous host where there were all the images and copy the upload folder to new host. And on completions change the permalink from backend > settings > permalink.

Short permanent file URL in WordPress

A complete WP newbie here...
I want to upload file to the WP site, so users can download it.
From what I see, when uploading to WP, the file gets a long URL which includes wp-content, date, etc. I want it to have a short, permanent URL, ie:
www.mysite.com/setup/setup.exe
How can I do that?
Please note this question applies to only one or two files on my site, the rest of the files (images, mainly) can continue use the same URL scheme.
Thanks!
Create a folder in your ftp where the site is hosted, call it Download then your file will be available at: www.mysite.com/download/file.me

My wordpress isnt coming up after I put it into my ftp client

So i have uploaded my unzipped wordpress files onto my filezilla ftp client and put them in a folder. But when I check the domain.com/wordpressfolder I keep getting a 404 this url does not exist on the server. Not sure what im doing wrong because there were no failed transfer when uploading onto my ftp. Could I have done something wrong on the hosting server side(bluehost) or should that not matter?
Basically all you need to do is download WordPress zip. Unzip files and open wordpress folder. After that select all and transfer them into root directory. When all files will be uploaded, open Tutorial and go through it.
Please make sure that the file you are uploading is a theme file or a complete wordpress file. If it is a theme file, you need to activate it in the admin panel. If it is complete wordpress file, please make sure that you are uploading it to the right location.

Resources