Skip to Content
WordPress® All-in-One For Dummies®
book

WordPress® All-in-One For Dummies®

by Lisa Sabin-Wilson, Cory Miller, Kevin Palmer, Andrea Rennick, Michael Torbert
April 2011
Beginner to intermediate content levelBeginner to intermediate
908 pages
22h 37m
English
For Dummies
Content preview from WordPress® All-in-One For Dummies®

Exploring the Difference between Subdirectories and Subdomains

Before you start setting up the network, the Create a Network page lets you choose the URL format of sites you are adding beneath the Addresses of Sites in your Network heading. By default, these sites are in subdomain format (subdomain.yourdomain.com) or subdirectory (yourdomain.com/subdirectory) format.

Figure 2-2 shows both choices displayed via radio buttons.

Figure 2-2: Choosing subdomains or subdirectories.

image

In some cases, depending to your setup, your choice here may be limited. WordPress does some autodetection with information about your installation and may prevent you from choosing an option that won't work with your setup.

Table 2-1 explains some of the situations you may encounter.

Table 2-1 Common Network Setup Situations

Situation Format
Site URL is different than Home URL. Network cannot be enabled.
Site URL is http://localhost. Subdirectories only.
Site URL is an IP address.
WordPress is installed in a folder (for example, http://domain.com/wp).
Install is more than 30 days old. Subdomains only.
WordPress is installed in the root of the domain (http://domain.com). Subdomains are default, can choose either.

Site addresses generate in a similar way. They don't really exist and you won't see these site addresses in your directory structure on your Web server because they are served ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

WordPress® 24-Hour Trainer

WordPress® 24-Hour Trainer

George Plumley
Gaming Hacks

Gaming Hacks

Simon Carless

Publisher Resources

ISBN: 9780470877012Purchase book