WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.6 is now available!


Will it continue with WB? It goes on! | Geht es mit WB weiter? Es geht weiter!
https://forum.websitebaker.org/index.php/topic,32340.msg226702.html#msg226702


The forum email address board@websitebaker.org is working again
https://forum.websitebaker.org/index.php/topic,32358.0.html


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Templates, Menus & Design »
  • Menu link as a first page doesnt work
  • Print
Pages: [1]   Go Down

Author Topic: Menu link as a first page doesnt work  (Read 5766 times)

Lotus

  • Guest
Menu link as a first page doesnt work
« on: February 12, 2008, 04:26:26 PM »
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.

Logged

spida

  • Guest
Re: Menu link as a first page doesnt work
« Reply #1 on: March 27, 2008, 05:46:58 PM »
Hi Lotus,

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

Regards,
Ayshe
Logged

doc

  • Guest
Re: Menu link as a first page doesnt work
« Reply #2 on: March 27, 2008, 05:55:27 PM »
Hello,

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

Regards Christian
Logged

spida

  • Guest
Re: Menu link as a first page doesnt work
« Reply #3 on: April 03, 2008, 10:54:37 AM »
TX!  :-D
Logged

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Templates, Menus & Design »
  • Menu link as a first page doesnt work
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2