• Welcome to WebsiteBaker Community Forum. Please log in or sign up.
Welcome, Guest
News
Support WebsiteBaker
Your donations will help to:
PayPal
  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!
You can donate by clicking on the button below.

Multiple pages directories

Started by daydreamer, February 08, 2012, 09:45:30 PM  ( Read 11,943 times )

daydreamer

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

    Ruud

    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.

      daydreamer


      sky writer

      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.

        Ruud

        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.

          sky writer

          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.

            \n\n