Community Documentation

Default front page

Last updated January 31, 2008. Created by jbrauer on January 9, 2005.
Edited by Steve Dondley, puregin, sillygwailo. Log in to edit this page.

This setting gives site administrators control over what Drupal-generated content a user sees when they visit a Drupal installation's root directory. For example, a site might have a node with a large collection of links to act as a table of contents to the different sections of the site and the site administrator wants this directory to be what users see first.

This setting tells Drupal which URL users should be redirected to. It's important to note that the URL is relative to the directory your Drupal installation is in. So, instead of

"http://www.example.com/node/83"

or

"http://www.example.com/drupal_installation_directory/node/83,"

it is only necessary to type "node/83". For those not using clean URLs, note that there is no need to type in "?q=" before typing the URL.

By default, the "Default front page" is set to "node," which simply displays articles that have been "Promoted to front page." Note that when changing the "Default front page" to something other than "node", nodes that are "Promoted to front page" will no longer appear on the front page. They can however, still be viewed by visiting the relative URL path "node".

If the path specified is not a valid Drupal path the user will be confronted with a "Page not found" error. It is not possible to redirect users to any web documents (e.g. a static HTML page) not created by the Drupal site.

Archive

Drupal’s online documentation is © 2000-2012 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution-ShareAlike 2.0. PHP code is distributed under the GNU General Public License.