adding media by hand on the command line…
-
hi,
i want to add a page to my wp site where i can post .pdf’s and other media for visitors to download. however because of the architecture of my server i am required to update plugins and themes by hand on the command line.
it appears that this is the case with media i wish to add as well. i would like to add a .pdf to a page but cannot use the gui “add media” options.
i have created /usr/share/wordpress/wp-content/uploads/2010/06 and moved the .pdf into it. i have created the page and saved it as a draft. how can i give visitors a link to download this file on the sites download page by hand?
what is the best way to give them a link to that file? can i just give them the absolute path? i don’t think that will work because they are in the wordpress directory through a sym link from /www to /usr/share/wordpress/ which confuses things.
what should the permissions on /uploads/, /2010/ and /06 be?
please advise,
oznola
- The topic ‘adding media by hand on the command line…’ is closed to new replies.