Wordpress
From mi-linux
Jump to navigationJump to searchUnfortunatly the "upload" setting is switched off at server level for security reasons. This means that uploading media, plugins and themes to Wordpress is not possible via the Dashboard interface. There are ways to achieve this via FTP.
Adding plugins via FTP
Let's install a plugins from the Wordpress Plugin Directory
- Choose a plugin, for example Amazon Link
- Download the zip file
- Unzip the file using 7-Zip or similar
- Upload the unzipped folder via FTP to your wordpress/wp-content/plugins folder
- Make the folder and all sub-folder writable and executable by all
- Also make sure that you only have one sub-folder, so for example the plugin should be stored in wordpress/wp-content/plugins/amazon-link, NOT wordpress/wp-content/plugins/amazon-link/amazon-link
- Go to your website's dashboard, plugins section. The plugin should now be listed. Activate it.
Adding media via FTP
Install Add From Server plugin
- Download this plugin: http://wordpress.org/plugins/add-from-server/
- Install the plugin (see previous section)
Use Add From Server plugin to add media
- Create a new temporary folder for your media (on the server), for example wordpress/wp-content/media
- Create a new permanent folder for your media (on the server) called wordpress/wp-content/uploads
- Make sure that the 2 folders above has read/write/execute rights for everyone
- Upload your media (for example an image) via FTP to the media folder (specified in step 1)
- Make sure that the file above has read permissions for everyone
- Go to your dashboard, plugins section, and click on "Import files" under the "Add From Server" entry.
- Select the folder to import media from (created in step 1 - in our case media)
- Select the file to be imported into your library (uploaded in step 4). This will move the file from the temporary folder (step 1) to the permanent folder (step 2)
- Press the import button
Now when browsing to Dashboard/Media, you should see your image listed.