https://localhost/cmsms/
I followed the instructions on this page to get it done but without result:
https://docs.cmsmadesimple.org/configuration/pretty-url
The only thing I did else so far after installation is setting up SSL. So this is my config.php:
Code: Select all
$config['dbms'] = 'mysqli';
$config['db_hostname'] = 'localhost';
$config['db_username'] = 'root';
$config['db_password'] = 'pass';
$config['db_name'] = 'cmsms';
$config['db_prefix'] = 'cms_';
$config['timezone'] = 'Europe/Amsterdam';
$config['root_url'] = 'https://localhost/cmsms';
$config['admin_url'] = 'https://localhost/cmsms/admin';
$config['url_rewriting'] = 'mod_rewrite';
Code: Select all
<IfModule rewrite_module>
RewriteEngine on
# CMSMS installation is in subdirectory
RewriteBase /cmsms
# force https
RewriteCond %{HTTPS} off
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
# remove 'www' from REQUEST_URI
RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]
RewriteRule ^ https://%1%{REQUEST_URI} [R=301,L]
# Rewrites URLs in the form of /parent/child/grandchild but only rewrites if the requested URL is not a file or directory.
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ index.php?page=$1 [QSA]
</IfModule>
I assume this is the home page? What do I need to do more to get it done?