How to Add / Remove Default Pages in WordPress Multisite

When you are running a WordPress multisite, each time a new site is created WordPress automatically adds a sample page to the new site. Recently, one of our users asked us if it was possible to remove the default sample page and add their own default pages. In this article, we will show you how to add / remove default pages in WordPress multisite.

Why Add Your Own Default Pages in WordPress Multisite?

There can be many reasons to replace the default sample page with your own. For example, you may want to add a page telling users what to do next.

The default sample page generated by WordPress is a little boring. Maybe you would like to add something witty and clever?

Lastly, you can use the default page to tell users the do’s and don’ts of your multisite network.

Adding / Removing Default Pages in WordPress

Simply add this code to your main site’s functions.php file or a site-specific plugin.

Tables can't be imported directly. Please insert an image of your table which can be found here.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24      

The first part of this code inserts a new WordPress page titled ‘About’ whenever a new site is created on your multisite network. The second part of the code finds and deletes default WordPress Sample Page.

Was this article helpful?
0 out of 0 found this helpful