Searching for another thing, just stumbled upon this gem by @anmari 🙂
You have to put a Dropin plugin at the root of wp-content
.
Should be named install.php
and contain a new version of the pluggable function wp_install_defaults
.
I used this gist for testing. And the only modification from the original function is the default category name and slug.
There’s a similar Q&A at StackOverflow and Michael notice is worth copying:
Since a default category of some kind is assumed, it’s a good idea to create a least one category
Related Posts:
- Homebrew install specific version of formula?
- Conda version pip install -r requirements.txt –target ./lib
- Conda version pip install -r requirements.txt –target ./lib
- Conda version pip install -r requirements.txt –target ./lib
- How can I create an MSI setup?
- extconf failed, exit code 1 error when installing [Ruby on Rails] 5 on OS X Yosemite 10.10.5
- How can I convert my Java program to an .exe file?
- Initialization Script for “Standard” Aspects of a WordPress Website?
- Changing the wp db prefix after installation?
- Installation problems on a domain-name-less server
- Install and configure WordPress while old site is still active
- How do I setup a WordPress site on a server before the domain is ready?
- After moving wordpress some files still point to old directory
- URL to download latest version of WP for other languages than English
- Steps to debug on a blank screened wordpress install
- Shortest possible shell script to install WordPress on Nginx server?
- Installed successfully; home page still redirects to install.php
- Repeatable configuration package
- One WordPress install serving multiple virtual hosts
- How to import WP XML file automatically on installation?
- Moving WordPress from live to local server
- Is it possible to install WordPress within WordPress installation?
- WordPress package configuration in Ubuntu Server?
- Programatically Creating Initial WordPress Site
- Can WordPress be installed at the root level, if a homepage called index.php already exists?
- Is there any plugin hook that I can latch onto once a site is freshly installed?
- No configuration file found and no installation code available. Exiting
- InfiniteWP installation fails – CONFIGURABLE MAX EXECUTION TIME DISABLED
- Multiple sites/domains on one database
- Unable to install wordpress theme without ftp user & password
- Backup blog posts only
- Reinstall WordPress from zero
- Importing wordpress. xml file on new installation
- WordPress installation does not get completed in WAMP server
- Novice WordPress Installation issues
- Can my site use two different WordPress installs for different pages?
- How to download WordPress 4.2.0
- Plugins try to install in old location [closed]
- When I try to install VersionPress, it tells me, “The package could not be installed. No valid plugins were found.”
- You appear to have already installed WordPress. To reinstall please clear your old database tables first
- Reset generated wp-config.php with wp-cli
- Missing wp-load.php on new install
- Automate specific steps on WordPress install
- Use new domain name on previously installed files of wordpress
- “Deprecated: mysql_connect()” error when installing Roots Bedrock
- How do I install more than one WordPress blog on EC2?
- Why does my localhost/wordpress not have a Link to Login Page
- WordPress composer issues
- Install WordPress with custom directory layout without breakting media upload
- WordPress in subfolder dont work
- Other than WP-CLI, is there a way to install WordPress via the command-line?
- How to edit an existing wordpress.org site
- Install with docker – can’t access port
- WP Installer Redirects to /wp-admin/core/install.php
- Installed WordPress Location
- how to return the wordpress path to the new site
- Version 3.04 or 3.5?
- Moving WordPress Site from MAMP to cPanel – How?
- What is a wordpress instance [closed]
- Moving WordPress from Root to a subfolder
- Reinstalling WordPress
- Installed WordPress without configuration screen
- How to install WP alongside my existing site at a sub-directory (bradydjohnson.com/blog)?
- What are the pros & cons of a new wordpress installation vs fixing one that already exists?
- Installing WAMP and WordPress: Visual Studio 2013 or 2012? [closed]
- I moved my WordPress site to the main directory and now I can’t access my admin
- Things to take care before installing wordpress Manual v/s Softaculous
- Why is WordPress’ installer “phoning home” during the install script?
- Installing plugins on IIS-hosted site [closed]
- Site blocked by WebSense on fresh WP Install
- Is it bad practice to install WordPress by cloning from the official GitHub repo?
- wordpress icons and gui not display while installing wordpress http://server_ip /wp-admin/install.php
- Is there a way to check which files are part of vanilla WordPress?
- Fresh installation of WordPress on CentOS produces critical error during installation
- Trying to make my home-made WordPress website visible by public network
- Delete all php files except WordPress core files?
- my client’s site is confused between WordPress.com and WordPress.org I think
- My wordpress doesnt show up
- Installation failed: Destination folder already exists
- Installing WordPress to root directory with existing static site. Concerns?
- First time installing WordPress. Cant Access
- Fatal error: Class ‘Requests_Utility_CaseInsensitiveDictionary’ not Found in WordPress
- What is the “Quick and Dirty” way to transfer WordPress installation?
- How to update WP-CLI on Windows via Composer?
- CPU spikes to 100% site doesn’t load, VPS crashes after moving site
- Have non-wordpress page as root (and blog elsewhere)
- Incorrect Blog Root
- Installing WordPress into a user directory without any admin privileges
- Can figure out how to get wordpress to go .com not .com/directory
- Doubts about how to migrate WordPress from local to online server using Search and Replace Tool script
- Trying to increase WP Memory Limit
- Is it ok to have one wordpress installation for server.com and www.server.com?
- Are two installations of WordPress on the same domain (no subdomains) ok?
- I can access to my wordpress page at work and via cellphone, but when I get home, I can’t access to the website
- Multiple independent wordpress installs – 1 dedicated server – individual dedicated domain for each install. What is the best way to achieve this?
- WordPress desktop app shows blank screen
- Correct folder & file permisson for WordPress
- Host Php script from codecanyon on wordpress
- Backend working but not front
- Installing wordpress into the same directory as existing static html website