On a Wordpress site, I would like to make some files available for downloading, and some of these, I've just found out, cannot be added to the media library. Namely, it's not letting me upload a zipped folder, a Sketchup (.skp) file, and an HTML file.
If I want to make files available through a Wordpress site that Wordpress does not support, what are my options? Would it be possible to have a file stored elsewhere and still be downloadable through a link on the Wordpress site? I'm new to Wordpress, but (correct me if I'm wrong) Wordpress.com, where the site in question is hosted, does not seem to allow plugins.
Wordpress.com is essentially a blogging platform unlike wordpress.org where you can download the wordpress package and install it on a server.Most of blogging service providers wont allow you to upload files to there server due to security issue like Shells and software piracy.
It is better to host your files somewhere else and public link to your blog. Another solution is to buy a hosting account and install wordpress software, where you can upload and store files you need without any restriction.(According to providers usage policies)
Related
I wonder, how websites like https://wpsec.com can find my wordpress themes and plugins.
When I tried to access the directory mydomain.com/wp-content/themes/my-theme, I got 404 but how do they get this.
Are my firewalls and security malewares plugins are useless?
After thinking about this my conjecture on how this works is this:
Almost all plugins/themes have .css and/or .js files. For plugins these are stored in the plugin's installation directory - .../wp-content/plugins/some-plugin-directory. The URLs of the HTTP requests for these would look this - httpx://some.host.com/wp-content/plugins/some-plugin-directory/js/some-javascript-file.js. From these requests wpsec can extract 'some-plugin-directory' which is what WordPress uses to identify a plugin. If the plugin is in the WordPress repository then wpsec can download the entire plugin and provide more information. If the plugin is proprietary then wpsec probably only has access to the publicly accessible .js and .css files. On my installation I have a proprietary plugin and wpsec found the installation directory - 'some-plugin-directory' but did not report the version probably because it cannot access the readme.txt or any of the .php files. So, if this conjecture is correct if a plugin only has PHP i.e. no .css, no .js and also no images stored in its installation directory then wpsec should not be able to detect it. Of course the same reasoning applies to themes.
I've transferred my database and entire Wordpress file structure over to the live site, but the live site is still looking for all its resources at localhost:8888/.
I looked back on what I did when getting started and I edited my gulpfile.js to include
var browserSyncOptions = {
proxy: 'localhost:8888',
notify: false
};
Thinking this was the issue, I switched it to proxy: $_SERVER['DOCUMENT_ROOT'], but still no luck. Any ideas for what I may be doing wrong?
Unfortunately I haven't been able to find a single bit of information about deploying an understrap themed site. Here are the docs for the theme though: https://understrap.com/demos/core/wp-content/themes/core-understrap/docs/.
I've transferred my database and entire Wordpress file structure over to the live site, but the live site is still looking for all its resources at localhost:8888/.
That is an easy to way to get into live server maintenance hell. UnderStrap is a unique theme package because it has strong npm dependencies running in the back-end that are appropriate for localhost development builds. For that reason, Here is an alternative approach I recommend instead.
Install a clean vanilla version of WordPress on your live server.
Install and activate UnderStrap.zip on your live server through wp-admin.
Import/Export your posts and pages from your local site, onto the live site. Add all media images. Adjust your settings, install your plugins, and clear your cache.
Now use the file manager in your C-Panel to only upload all modified theme files from your localhost to your live server.
Test your site, then go live.
That is more of a manual process, but it has its benefits. For one, you learn and see what each step looks like, you push up only what you need, you don't have localhost decencies running on your live site and the database is 100% targeted on live site content.
If you can access the wp-admin of your live site there's a great plugin called Velvet Blues Update URLs that you can install.
Install it, go to Tools > Update URLs and enter the localhost address and then the live site address.
Always works great for me.
Many developers have done this process by running its gulp dist when processing deployment. It will create dist folder which you can upload on the server. It contains all necessary files that supports running the scss. So try to use also the gulp dist-product as a "product" that the theme can be published and downloaded in the near future.
I have just finished uploading the content of my wordpress site to google cloud. But I am now facing a huge limitation due to no I/O ability. I am posting this to see if anybody has devised a work-around.
I need to install Headway Themes and upload a package of buttons (Max Buttons Pro), I also have troubles with installing the s2member Pro edition.
Any workarounds for this?
Themes & Plugins have to be downloaded and extracted into you wordpress project folder and re-uploaded to appengine.
Typical workflow:
Download desired theme (Usually as a .zip file)
Extract the .zip file into wordpress/wp-content/themes (you will see default themes here...theres also a folder for plugins)
Upload your project to appengine (Don't worry this will not overwrite your data)
You will then see the themes or plugins show up on your wordpress dashboard.
Hi I am currently developing an Wordpress site offline on local server and want to upload to my domain online. I don't need to transfer the database, but I would like my pages, theme, widgets to work correctly.
What I am doing:
Copying Wordpress directory to domain directory through ftp.
Exporting everything in local server Wordpress and importing in
online Wordpress.
All my pages/posts are transferred, and my theme is installed but not set default. When I select it, everything is set to the themes original defaults, not like changed on the local server (for example tagline, background, etc). Also the widgets are the default settings.
Am I doing something wrong?
I am using Wordpress 3.4.2
Thanks!
Yes, you have just forgotten that some options for your themes are actually stored as WordPress options, so if you don't upload your database, you will not transfer these settings.
I've written a tutorial explaining step-by-step how to transfer a WordPress site to another server: http://www.sebastianbroways.com/wordpress-transfer/
If you follow each step the site should retain all the settings, including the template preferences. Good luck.
I have created a wordpress website on the localhost and want to migrate it to the clients server. How can i shift the content, images (media) and the theme and its widgets.
Hope i dont have to recreate all that on the website all over again :D
BackupBuddy is probably the most efficient and easiest way. Here's the URL: BackupBuddy
Plenty of documentation and the plugin basically does everything for you.
Review the Wordpress Codex on this issue for details and various Tools that can help you.
Make sure that your theme and widgets are not referencing the old domain directly. If this is a theme/plugin/widget of your own making, you should be aware that Wordpress has Various Functions that reference the URL of your Wordpress installation.
You need to do a few things:
Install WP Migrate DB http://wordpress.org/extend/plugins/wp-migrate-db/ and use it to export the DB as a gzip file
Upload all the Wordpress files to the server modifying wp-config.php to match the client's MySql server. If WP is already installed, upload only what's in wp-content
Access the client's MySql server (normally through phpMyAdmin) and import the gzip file that contains your DB
To get the server path on the client's server (WP Migrate DB will ask for it) use this php snippet from the site's / :
<?php print_r(__DIR__) ?>
That should be it.
Cheers.