Skip to the content
Documentation

IndexPage

No ratings yet

Summary

Sets the page to display when the root "/" of your site is accessed.

Usage

IndexPage= internal url

Description

Use either a system or a nice URL to specify the index page. System URL's are a bit faster and should be used for the IndexPage setting since the root of your site will be accessed very often.

Examples

IndexPage=/content/view/full/2

This example shows the full view of node 2 as the index page of your site.

Contributors

Comments (4 historical)

Written by readers of the earlier documentation sites, kept as they were.

  1. Nice url

    Nicolas Ottavi ·

    Hi,
    I tried to use the "nice url" to define the IndexPage, but when trying to access the site I got a "Module not found" error ... How should I do if for example, my node 540 corresponds to the url http://mysite.com/accueil and I want it to be the IndexPage without doing IndexPage=/content/view/full/540 ?
    Thanks for your help,
    Nicolas

    1. Re: Nice url

      Christian ·

      Why can't you just use IndexPage=/content/view/full/540 ? The URL won't show anyways, it's just a way of telling Exponential where to find the content to display on the frontpage.

      1. Re: Re: Nice url

        Tristan Rivoallan ·

        I have the same issue and using the system URL is not an option since i cannot predict homepage node's id (i use exponential packages system).

    2. Re: Nice url

      Frank from Nantes ·

      Right, it fails.
      Did you find any solution tu use nice URLs ?

Comments

Add a comment

Comments are read by a moderator before they appear.