2012-09-18, 10:42:45
The way I handle this is to first of all create a redirect.php file in the same folder as your theme's template.php file. In this new PHP file paste the following:
Then, log into your GetSimple install and edit the "index" page (it's slug will be "index"), under "Page Settings" change the "Page Template" to "redirect.php" and the "Meta Description" field to /exposition.php which is the page people will end up on if they try to access the home page.
Code:
<?php if(!defined('IN_GS')){ die('You cannot load this page directly.'); }
header("HTTP/1.1 301 Moved Permanently");
header("Location: " . get_page_meta_desc(false));
exit();
Then, log into your GetSimple install and edit the "index" page (it's slug will be "index"), under "Page Settings" change the "Page Template" to "redirect.php" and the "Meta Description" field to /exposition.php which is the page people will end up on if they try to access the home page.