WebsiteBaker Support (2.8.x) > Templates, Menus & Design

Menu link as a first page doesnt work

(1/1)

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.

spida:
Hi Lotus,

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

Regards,
Ayshe

doc:
Hello,

the code of the intro page (/pages/intro.php) should look like this:

--- Code: ---<?php 
// redirect to a specifc start page per default
header(&#39;Location: http://yourdomain.com/pages/en/yourstartpage.php&#39;); 
?>
--- End code ---

Regards Christian

spida:
TX!  :-D

Navigation

[0] Message Index

Go to full version