Forum
Not able to create folder & sub-page for the webpage created.
Currently what is happening is, when I create a new page, it get created under root folder with the extension newpage.php What I want to do is that; when I create a new page, it should auto-generate a folder with the same name as of the page name, further the folder should have an auto created index.php page. So that when I click on the navigation link to that page, it should be going to the respective folder & then call index.php page under that folder.
For example: I create a 'Demo' page under admin section of a website & navigate to that page it should open as https://testwebsite.com/Demo/index.php
Please post your Diagnostics Report.
Perch: 2.8.31 Production mode: Production (100) Installed apps: content (2.8.31), assets (2.8.31), categories (2.8.31), perch_forms (1.8.3) DB driver: PDO DB tables: perch2_categories (0), perch2_category_counts (0), perch2_category_sets (0), perch2_content_index (351), perch2_content_items (120), perch2_content_regions (26), perch2_forms (2), perch2_forms_responses (4), perch2_navigation (0), perch2_navigation_pages (0), perch2_page_templates (4), perch2_pages (3), perch2_resource_log (45), perch2_resource_tags (0), perch2_resources (105), perch2_resources_to_tags (0), perch2_settings (10), perch2_user_passwords (0), perch2_user_privileges (29), perch2_user_role_privileges (16), perch2_user_roles (2), perch2_users (1) Users: 1 App runtimes: <?php $apps_list = array( 'content', 'perch_forms', 'categories', ); Editor plug-ins: markitup H1: 421aa90e079fa326b6494f812ad13e79 L1: b156fae608ef25e941889280e0096774 F1: 2edba60ed1f613d6dd804feb202456a2 headerColour: #ffffff content_singlePageEdit: 1 helpURL: siteURL: / hideBranding: 0 content_collapseList: 1 lang: en-gb update_2.8.31: done latest_version: 2.8.15 on_sale_version: 2.8.31 PERCH_DEVELOPMENT: 10 PERCH_STAGING: 50 PERCH_PRODUCTION: 100 PERCH_DB_USERNAME: railwebsite PERCH_DB_SERVER: localhost PERCH_DB_DATABASE: railwebsite PERCH_DB_PREFIX: perch2_ PERCH_GMAPS_API_KEY: AIzaSyBJ3-RHdzs-xjn0gFUK4H7lBXLQOfLqLTo PERCH_TZ: UTC PERCH_EMAIL_FROM: manish.sharma@taritas.com PERCH_EMAIL_FROM_NAME: manish sharma PERCH_LOGINPATH: /perch PERCH_PATH: C:\inetpub\wwwroot\test\perch PERCH_CORE: C:\inetpub\wwwroot\test\perch\core PERCH_RESFILEPATH: C:\inetpub\wwwroot\test\perch\resources PERCH_RESPATH: /perch/resources PERCH_HTML5: 1 PERCH_RUNWAY: PERCH_ERROR_MODE: DIE PERCH_DATE_LONG: %d %B %Y PERCH_DATE_SHORT: %d %b %Y PERCH_TIME_SHORT: %H:%M PERCH_TIME_LONG: %H:%M:%S PERCH_RUNWAY_ROUTED: PERCH_STRONG_PASSWORDS: PERCH_DEBUG: PERCH_PREVIEW_ARG: preview PERCH_TEMPLATE_PATH: C:\inetpub\wwwroot\test\perch\templates PERCH_DEFAULT_DOC: index.php PERCH_DEFAULT_EXT: .php PERCH_PRODUCTION_MODE: 100 PERCH_RWD: PERCH_HTML_ENTITIES: PERCH_SSL: PERCH_STRIPSLASHES: PERCH_PROGRESSIVE_FLUSH: 1 PERCH_PARANOID: PERCH_FORCE_SECURE_COOKIES: PERCH_PASSWORD_MIN_LENGTH: 6 PERCH_MAX_FAILED_LOGINS: 10 PERCH_AUTH_LOCKOUT_DURATION: 1 HOUR PERCH_VERIFY_UPLOADS: PERCH_AUTH_PLUGIN: PERCH_DB_CHARSET: utf8 PERCH_DB_PORT: PERCH_DB_SOCKET: PERCH_SESSION_TIMEOUT_MINS: 20 HOSTING SETTINGS
PHP: 7.0.9 Zend: 3.0.0 OS: WINNT SAPI: cgi-fcgi Safe mode: not detected MySQL client: mysqlnd 5.0.12-dev - 20150407 - $Id: 241ae00989d1995ffcbbf63d579943635faf9972 $ MySQL server: 5.7.11 Free disk space: 159.53 GB Extensions: Core, bcmath, calendar, ctype, date, filter, hash, iconv, json, mcrypt, SPL, pcre, Reflection, session, standard, mysqlnd, tokenizer, zip, zlib, libxml, dom, PDO, openssl, SimpleXML, xml, wddx, xmlreader, xmlwriter, cgi-fcgi, mysqli, mbstring, gd, gettext, curl, exif, xmlrpc, Phar, soap, pdo_mysql, pdo_sqlite, imap, tidy, wincache GD: Yes ImageMagick: No PHP max upload size: 2M PHP max form post size: 8M PHP memory limit: 128M Total max uploadable file size: 2M Resource folder writeable: Yes Session timeout: 24 minutes Native JSON: Yes Filter functions: Yes Transliteration functions: No PROCESSOR_ARCHITEW6432: AMD64 FCGI_X_PIPE: \.\pipe\IISFCGI-dea529e3-0858-46b2-97af-a3dde3e22ac2 PHP_FCGI_MAX_REQUESTS: 10000 PHPRC: C:\Program Files (x86)\PHP\v7.0 ALLUSERSPROFILE: C:\ProgramData APPDATA: C:\Windows\system32\config\systemprofile\AppData\Roaming APP_POOL_CONFIG: C:\inetpub\temp\apppools\railwebsite\railwebsite.config APP_POOL_ID: railwebsite CommonProgramFiles: C:\Program Files (x86)\Common Files CommonProgramFiles(x86): C:\Program Files (x86)\Common Files CommonProgramW6432: C:\Program Files\Common Files COMPUTERNAME: MANISH ComSpec: C:\Windows\system32\cmd.exe LOCALAPPDATA: C:\Windows\system32\config\systemprofile\AppData\Local NUMBER_OF_PROCESSORS: 4 OS: Windows_NT Path: C:\Program Files (x86)\PHP\v7.0;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\;C:\Program Files (x86)\nodejs\;C:\Program Files\Git\cmd;C:\Users\manish\AppData\Roaming\npm;C:\Program Files\MySQL\MySQL Server 5.5\bin;C:\Windows\system32\config\systemprofile.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\; PATHEXT: .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC PROCESSOR_ARCHITECTURE: x86 PROCESSOR_IDENTIFIER: Intel64 Family 6 Model 58 Stepping 9, GenuineIntel PROCESSOR_LEVEL: 6 PROCESSOR_REVISION: 3a09 ProgramData: C:\ProgramData ProgramFiles: C:\Program Files (x86) ProgramFiles(x86): C:\Program Files (x86) ProgramW6432: C:\Program Files PSModulePath: C:\Windows\system32\WindowsPowerShell\v1.0\Modules\ PUBLIC: C:\Users\Public SystemDrive: C: SystemRoot: C:\Windows TEMP: C:\Windows\TEMP TMP: C:\Windows\TEMP USERDOMAIN: TARITAS USERNAME: MANISH$ USERPROFILE: C:\Windows\system32\config\systemprofile VS110COMNTOOLS: C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\Tools\ VS120COMNTOOLS: C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\Tools\ VS140COMNTOOLS: C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools\ VSSDK140Install: C:\Program Files (x86)\Microsoft Visual Studio 14.0\VSSDK\ windir: C:\Windows ORIG_PATH_INFO: /perch/core/settings/diagnostics/index.php URL: /perch/core/settings/diagnostics/index.php SERVER_SOFTWARE: Microsoft-IIS/10.0 SERVER_PROTOCOL: HTTP/1.1 SERVER_PORT: 8048 SERVER_NAME: localhost SCRIPT_NAME: /perch/core/settings/diagnostics/index.php SCRIPT_FILENAME: C:\inetpub\wwwroot\test\perch\core\settings\diagnostics\index.php REQUEST_URI: /perch/core/settings/diagnostics/?extended REQUEST_METHOD: GET REMOTE_PORT: 53876 REMOTE_HOST: ::1 REMOTE_ADDR: ::1 QUERY_STRING: extended PATH_TRANSLATED: C:\inetpub\wwwroot\test\perch\core\settings\diagnostics\index.php LOCAL_ADDR: ::1 INSTANCE_META_PATH: /LM/W3SVC/3 INSTANCE_NAME: RAILWEBSITE INSTANCE_ID: 3 HTTPS: off GATEWAY_INTERFACE: CGI/1.1 DOCUMENT_ROOT: C:\inetpub\wwwroot\test APPL_PHYSICAL_PATH: C:\inetpub\wwwroot\test\ APPL_MD_PATH: /LM/W3SVC/3/ROOT HTTP_UPGRADE_INSECURE_REQUESTS: 1 HTTP_USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.101 Safari/537.36 HTTP_REFERER: https://localhost:8048/perch/core/settings/diagnostics/ HTTP_HOST: localhost:8048 HTTP_COOKIE: cmsa=1; PHPSESSID=nik14knb277ebngu8r3qk19uf2 HTTP_ACCEPT_LANGUAGE: en-US,en;q=0.8 HTTP_ACCEPT_ENCODING: gzip, deflate, sdch HTTP_ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,/;q=0.8 HTTP_CONNECTION: keep-alive FCGI_ROLE: RESPONDER PHP_SELF: /perch/core/settings/diagnostics/index.php REQUEST_TIME_FLOAT: 1473673750.4293 REQUEST_TIME: 1473673750
When creating a page, check the box that says the page will have more pages below it. This creates a folder.