I hava a website in Wordpress. Let's say is installed on a domain www.something.com.
I know how to get to individual files, but is it possible to make a link to a file, so that the URL would be: www.something.com/pdf/article1.pdf?
Yes ofcus, Simply put in the link like so, in your html/text
Download here
to refer to the file, and make sure u have the pdf folder created in your root directory.
Good luck.
Related
My website is www.rosstheexplorer.com.
I am fairly sure I have managed to corrupt / break my Penscratch Wordpress Theme.
When I try and load my website I am greeted with a white page.
Where can I redownload the Wordpress Penscratch theme files?
I have access to my file manager. I was hoping to be able to download the Penscratch php files and then upload them to my file manager.
A simeple google search for you theme suggests this url
https://en-gb.wordpress.org/themes/penscratch/
You can click on download button and get the files then backup old files and replace the whole folder with downloaded version of theme. You may need to unzip it before uploading via ftp or if using filemanager make sure you place files in correct folder and unzip them properly.
Thank you for peoples suggestions.
I used that site and it was what I needed. Although in the end I did not have to reupload the theme. I was able to correct my existing theme.
Look here for more explanation Finding custom-header.php in file manage on Wordpress Penscratch theme
As the title states I have a question about digital downloadable products through woocommerce. I am new to web development and wordpress so go easy on me. I am trying to add a downloadable product where you can't access the file by direct url. I have set the download type to force download to prevent link sharing but found that I can still access the purchasable files by typing in the direct path Example:
example.com/wp-content/uploads/woocommerce_uploads/2015/06/examplefile.pdf
I have done quite a bit of research but have come up with very few results. One of the only things that I have found is that I should move the downloadable files outside of the root directory. I have attempted to do this but then the download links no longer work. Instead of doing a forced download like normal it redirects to to a page like
example.com/home/user/public_html/home/user/downloads/examplefile.pdf
So I am thinking woocommerce must not be friendly with the files outside the root directory. All in all I am out of ideas of what else to try. Any help or suggestions of how to make this work (having files outside root directory) or other solutions would be greatly appreciated.
If you create a folder outside the public_html directory and upload the files here, you will be safe.
You can find detailed explanations about this topic and how to copy the links of uploaded files in this blog post.
You can add a .htaccess file in the woocommerce_uploads folder with
deny from all
I have a simple HTML microsite, which I want to put inside my wordpress website. For example: Wordpress website is: abc.com
I want to put my microsite inside this wordpress site. So URL becomes:
abc.com/microsite/
But, wordpress treats any url as its own. How can put "abc.com/microsite/" urls to Wordpress Ignore list. So that any pages inside microsite folder executes independently.
just put you folder 'microsite' in root(Where you find wp-admin,wp-content and wp-include folder). and
you are able to access the folder
"abc.com/microsite/ by this url
If you are still having issues with accessing the subfolder, try renaming the .htaccess to .htaccess-bak in order for WordPress to regenerate the file again. Understand that your website might temporarily go down.
I've found this solution to help in some cases, but I don't know exactly why, ergo I am not sure it will work. And if you feel uncomfortable editing the .htaccess file I suggest you learn more about it (as should I). It is a very powerful file and WordPress uses it a good deal.
P.S. The file is located in the same folder, WordPress' root folder where you find /wp-admin/, /wp-content/, etc. It is hidden by some hosting providers, but I've always been able to find them through FTP with the hosting companies I've used before.
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
A relative has a wordpress based site that they want me to make a few changes to that I can't seem to find a way of doing from wordpress itself because it puts everything in categories but if something doesn't install itself fully or anything you can't find all the files. I want to have some kind of file manager so i can browse the website's filesystem directly, find the files and add the exact code I want to add, and be done with it without removing or disabling wordpress itself.
Use and ftp client to login. This will allow you to browse the file and folder structure of the server. Once you get logged in you can use......
dir - directory listing
cd - change directories
put add files to the server
get - pull copies of files from the server
There's more, but this should get you started.