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 »
  • General Community »
  • Off-Topic »
  • Multiple pages directories
  • Print
Pages: [1]   Go Down

Author Topic: Multiple pages directories  (Read 8476 times)

daydreamer

  • Guest
Multiple pages directories
« on: February 08, 2012, 09:45:30 PM »
Hi,

Not sure if this has ever been mentioned, or is even possible to have multiple pages directories which different names?

Example:

pages
pages-2
foldername
etc...

Thanks
daydreamer
Logged

Offline Ruud

  • Posts: 3671
  • Gender: Male
  • Do not use PM for help! Please use the forum!
    • Dev4Me - Professional WebsiteBaker Development
Re: Multiple pages directories
« Reply #1 on: February 08, 2012, 10:19:37 PM »
No, there is only one "pages" directory.

You could remove it (admin > settings > advanced settings) and start with 2 pages at rootlevel to create those structures.
Removing the root "/pages" is not advised though. It is there for a good reason.
Logged
Dev4me - WebsiteBaker modules - WBhelp.org

daydreamer

  • Guest
Re: Multiple pages directories
« Reply #2 on: February 08, 2012, 10:50:37 PM »
Thanks for the swift reply
Logged

Offline sky writer

  • Posts: 926
Re: Multiple pages directories
« Reply #3 on: February 09, 2012, 12:58:15 AM »
Quote from: Ruud on February 08, 2012, 10:19:37 PM
Removing the root "/pages" is not advised though. It is there for a good reason.

I hear this stated all the time.  Can you please expand on why this is not advised.  I removed the /pages directory on every website I manage and have never had any issues.

I never liked the added /pages in my sites URL's.
Logged

Offline Ruud

  • Posts: 3671
  • Gender: Male
  • Do not use PM for help! Please use the forum!
    • Dev4Me - Professional WebsiteBaker Development
Re: Multiple pages directories
« Reply #4 on: February 09, 2012, 09:45:05 AM »
The reason is WB writes accessfiles and phisical subdirectories for all created pages.

If you do not use some directory above the root and you would create a page like admin/framework/include/temp/templates etc that could casue problems.
Especially when a page like that is removed, the complete directory structure would be removed.
Creating a page like "config" in the root would overwrite your config.php and completely disable the website including the admin.

As long as you are sure you will never create those pages you can remove the pages directory. If you create websites for 3rd parties (customers) it presents a very high risk the customers breaks the website without knowing.

a more safe solution is to use something like http://short.allwww.nl although it still has some issues with special modules/pagetypes.
Logged
Dev4me - WebsiteBaker modules - WBhelp.org

Offline sky writer

  • Posts: 926
Re: Multiple pages directories
« Reply #5 on: February 09, 2012, 10:15:08 PM »
Thanks for the reply.  I understand this as an issue, but not a concern.  If I try to create a 'page' named admin, WB tells me there is already a page with that name (or similar) and refused to allow me to create the page.  So, I don't see how this is a danger... only a potential problem if you did indeed NEED to create pages with names that conflicted with WB folder structure names.
Logged

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • General Community »
  • Off-Topic »
  • Multiple pages directories
 

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