Menu link as a first page doesnt work


doc

Hello,

the code of the intro page (/pages/intro.php) should look like this:
<?php 
// redirect to a specifc start page per default
header('Location: http://yourdomain.com/pages/en/yourstartpage.php'); 
?>


Regards Christian

spida

Hi Lotus,

it would be great if you'd post the redirect code  :-)

Regards,
Ayshe

Lotus

Have a multilingual page and, as in the totorial, using the first level of pages as a holder for each language. With different configured instances of show_menu you can schange language on one menu and navigate from another. As the first page is the one you see when enter the site it has to be a menu link and not a ordinary page with content.

My probelm is now the a menu link doesnt work, wb says (genereted by wb) "enter the mainpage here" (or something like that) in the content area with a link to / (again). A menu link simply doesnt work as a first page.
my menu link is configured /pages/home

File structure:
GB->
->HOME
->ETC


SE->
->HEM
->ETC

The URL shows www.site.se/
When it shuld have shown www.site.se/pages/home.php

A workaround for this was to use an intropage and put in a php redirect.