Title: Custom default installation
Last modified: August 19, 2016

---

# Custom default installation

 *  Resolved [mikesmobile](https://wordpress.org/support/users/mikesmobile/)
 * (@mikesmobile)
 * [17 years, 7 months ago](https://wordpress.org/support/topic/custom-default-installation/)
 * I need to customize the default WP installation. For example, I would like to
   create a few categories, posts, and pages created upon installation. I found 
   this post on the WordPress MU website, “[Change default category and post](http://mu.wordpress.org/forums/topic.php?id=5533)“,
   but I couldn’t find the appropriate file for the regular WP install. I found 
   a few lines of code in the /includes/upgrade.php file that appear to be where
   I want to start (look towards line 60).
 * Does anyone have any suggestions as to where I might find some documentation 
   on this? Is the /includes/upgrade.php file a good start?
 * Best wishes!

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [MichaelH](https://wordpress.org/support/users/michaelh/)
 * (@michaelh)
 * [17 years, 7 months ago](https://wordpress.org/support/topic/custom-default-installation/#post-871883)
 * Yes, the data created in a WordPress installation is a result of code in wp-admin/
   includes/upgrade.php
 *  Thread Starter [mikesmobile](https://wordpress.org/support/users/mikesmobile/)
 * (@mikesmobile)
 * [17 years, 7 months ago](https://wordpress.org/support/topic/custom-default-installation/#post-871886)
 * Thank you MichaelH. You’ve been a lot of help lately 🙂
 *  Thread Starter [mikesmobile](https://wordpress.org/support/users/mikesmobile/)
 * (@mikesmobile)
 * [17 years, 7 months ago](https://wordpress.org/support/topic/custom-default-installation/#post-871887)
 * MichaelH. Is there some documentation available that might provide some instruction
   on customizing the upgrade.php file?
 *  [MichaelH](https://wordpress.org/support/users/michaelh/)
 * (@michaelh)
 * [17 years, 7 months ago](https://wordpress.org/support/topic/custom-default-installation/#post-871900)
 * No there is not any that I know of but just using the existing INSERTs in that
   script should make it easy for you to create additional posts, pages, and categories.
 *  Thread Starter [mikesmobile](https://wordpress.org/support/users/mikesmobile/)
 * (@mikesmobile)
 * [17 years, 7 months ago](https://wordpress.org/support/topic/custom-default-installation/#post-872165)
 * Perfect. Thank you.
 *  [John Turner](https://wordpress.org/support/users/johnnytee/)
 * (@johnnytee)
 * [17 years, 7 months ago](https://wordpress.org/support/topic/custom-default-installation/#post-872249)
 * Try this, [http://wpbits.wordpress.com/2007/08/10/automating-wordpress-customizations-the-installphp-way/](http://wpbits.wordpress.com/2007/08/10/automating-wordpress-customizations-the-installphp-way/)
 * It’s the right way to do custom installs.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Custom default installation’ is closed to new replies.

## Tags

 * [categories](https://wordpress.org/support/topic-tag/categories/)
 * [custom](https://wordpress.org/support/topic-tag/custom/)
 * [default](https://wordpress.org/support/topic-tag/default/)
 * [installation](https://wordpress.org/support/topic-tag/installation/)

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 6 replies
 * 3 participants
 * Last reply from: [John Turner](https://wordpress.org/support/users/johnnytee/)
 * Last activity: [17 years, 7 months ago](https://wordpress.org/support/topic/custom-default-installation/#post-872249)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
