Multiple Domains and Subdomains Using Multisite Installation
Yes you can, I use 25 sub sites with different domains. 1- Point your domains to WP root folder. 2- Add a new site: 3- Edit it: 4- Change URL to a new domain:
Yes you can, I use 25 sub sites with different domains. 1- Point your domains to WP root folder. 2- Add a new site: 3- Edit it: 4- Change URL to a new domain:
I think you’re taking the right approach: version-checking and die. The only thing I might recommend would be to hook it into the Plugin activation hook. Out of curiosity, though: why aren’t you using wp_die() (Codex ref)? As a side note: I would love to see the Theme and Plugin repositories implement some sort of … Read more
Check out your php.ini config file and try changing the permissions for your upload_tmp_dir & session.save_path directories.
Try repairing the wp_options table, that solved the issue for me months ago. Also make sure the table prefix in wp-config.php is correct.
I had forgotten to define the location of wp-content in my wp-config.php : define( ‘WP_CONTENT_DIR’, dirname(__FILE__) . ‘/wp-content’ ); define( ‘WP_CONTENT_URL’, ‘http://’.$_SERVER[‘SERVER_NAME’].’/wp-content’ ); define( ‘WP_PLUGIN_DIR’, dirname(__FILE__) . ‘/wp-content/plugins’ );
Having the “shortest” script is a fairly pointless goal here I think, besides for entertainment purposes. But if you are looking for something that is very minimal and easy to understand, you can check out Bash scripts like my own free SlickStack project on GitHub, which is geared toward LEMP stack newbies. Keep mind that … Read more
My first thought was the BackupBuddy plugin from iThemes. The downside is that it is very definitely not free. Actually, the code is all GPLv2, but you can’t get it unless someone who has paid for it (like myself) gave it to you (which I’m not offering to do for ethical reasons). However, the basics … Read more
Add the following to wp_config.php: define( ‘WP_DEBUG’, true ); Reset the Plugins folder Revert to the default Theme (currently Twenty Eleven), using a similar method to the Plugin-reset step (just be sure that the only Theme available in /wp-content/themes/ is twenty-eleven) If your site is restored, great! If not, you likely have some sort of … Read more
Can you include WP-CLI in your script? Then it could be as easy as: wp core config –dbname=wordpress_default –locale=”<your locale>” –dbuser=sqluser –dbpass=sqlpass –quiet wp core install –url=local.wordpress.dev –quiet –title=”Local WordPress Dev” –admin_name=admin –admin_email=”[email protected]” –admin_password=”password” Docs for wp core config and wp core install
I had the same problem but it occured while importing the theme-unit-test-data.xml along with its attachments. I am using WP 3.8.1. It’s a WordPress issue so editing the php.ini has no effect. WP uses a hardcoded value (60 secs) for http_request_timeout of WP_Http in class-http.php. To solve it, place this code in functions.php of your … Read more