General Community > Off-Topic

Multiple pages directories

(1/2) > >>

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:
Thanks for the swift reply

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.

--- End quote ---

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.

Navigation

[0] Message Index

[#] Next page

Go to full version