From Version 9.2 onwards, setup follows installation which sets the passwords and writes various files required for la.plume Micro CMS to operate. If the script cannot write the required files (due to insufficient server permissions) then the process will proceed no further. If the files are written, a link to the setup page is displayed.
The admin/setup page is used to create:
(1) the settings file
(2) the .htaccess file
Until you have run 'install' and 'setup' the system will not work, so complete those before anything else.
On the setup page
'Enter as required' contains the following example settings:
- For menu top item text: Home Page
- For name in footer: Josephine Bloggs
- Alphabetical menu (YES or NO): YES
- Enable visitor comments (YES or NO): NO
- Enable site search (YES or NO): YES
- Your email address (for when comments enabled and contact page)
... and if /cms/contact.php exists:
- For contact page (name beneath form): Josephine
- For contact page (banner text): contact page
- For contact page (message above form): To get in touch... etc.
- For contact page text in menu (leave blank to exclude from menu): Contact
Edit the example settings as required. Then select a language.
*Beneath the buttons there should be notices (i) confirming (or otherwise) that the Apache mod_rewrite module is enabled and that .htaccess is writable, (ii) the home page address where the system will be installed, and (iii) if contact.php has been uploaded, the URL for the contact page.
Click Submit setup. You should then see "Settings entered" at the top of the page. la.plume Micro CMS is now good to go.
The settings can be changed by entering new settings and clicking 'Submit setup' again. 'Reset form' restores the current settings and does not submit values.
Canonical URL means the authoritatively correct URL for a page. When a page can be accessed via multiple URLs, a canonical URL should be identified. For example one but not both of:
From Version 8.4, non-canonical URLs are automatically redirected to canonical URLs via the .htaccess file. This is done on setup and the canonical URLs will be the same as those in the admin pages address bar, i.e. with-www or without. To switch from one to the other, go to setup, add or subtract www. in the browser address bar, refresh the page, then submit setup again.
Canonical URLs applies only to public pages, not admin—there is no need because search engines are instructed not to index the admin pages.
Your server will require the following permissions:
/ the website root folder [ CHMOD 755 ]
.htaccess* file [ CHMOD 644 or 666 ]
/admin/ folder (directory) [ CHMOD 755 ]
/admin/files [ CHMOD 644 ]
/comments/ folder (directory) [ CHMOD 755 ]
/comments/files [ CHMOD 644 ]
/css/ folder (directory) [ CHMOD 755 ]
/css/files [ CHMOD 644 ]
/img/ folder (directory) [ CHMOD 755 ]
/img/files [ CHMOD 644 ]
/inc/ folder (directory) [ CHMOD 755 ]
/inc/files [ CHMOD 644 ]
/pages/ folder (directory) [ CHMOD 755 ]
/pages/files [ CHMOD 644 ]
(0)755 is usually the directory default for web hosting services, and (0)644 for files - writable by you as owner. Directory and file permissions can usually be set in an FTP client program or in the File Manager of the website control panel (cPanel, Plesk etc).
*Some web hosts (especially free ones) don't allow .htaccess to be writable but la.plume Micro CMS will run without .htaccess.