Welcome, Guest. Please login or register.
Did you miss your activation email?
May 26, 2012, 11:58:59 PM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite.
155556 Posts in 21715 Topics by 7737 Members
Latest Member: gx-world
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Multiple pages directories  (Read 311 times)
daydreamer

Offline Offline

Posts: 253


« 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
Ruud
WebsiteBaker Org e.V.

Offline Offline

Posts: 2298



WWW
« 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

Professional WebsiteBaker Solutions
daydreamer

Offline Offline

Posts: 253


« Reply #2 on: February 08, 2012, 10:50:37 PM »

Thanks for the swift reply
Logged
sky writer

Offline Offline

Posts: 285



« Reply #3 on: February 09, 2012, 12:58:15 AM »

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
Ruud
WebsiteBaker Org e.V.

Offline Offline

Posts: 2298



WWW
« 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

Professional WebsiteBaker Solutions
sky writer

Offline Offline

Posts: 285



« 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
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!