Pretty url werkt niet in 2.1.4
Posted: Sat Aug 06, 2016 7:54 pm
In 2.1.4 doet de Pretty url het niet meer
Zoals in oudere versie van CMSMS
In config.php toegevoegd:
$config['url_rewriting'] = 'mod_rewrite';
$config['page_extension'] = '.html';
En de .htacces
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteBase /
# Rewrites urls in the form of /parent/child/
# 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>
Nu is alleen de 1e pagina oké
Andere pagina's zijn niet vindbaar.
Volgens http://docs.cmsmadesimple.org/configuration/pretty-url zou het zo werken
Zoals in oudere versie van CMSMS
In config.php toegevoegd:
$config['url_rewriting'] = 'mod_rewrite';
$config['page_extension'] = '.html';
En de .htacces
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteBase /
# Rewrites urls in the form of /parent/child/
# 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>
Nu is alleen de 1e pagina oké
Andere pagina's zijn niet vindbaar.
Volgens http://docs.cmsmadesimple.org/configuration/pretty-url zou het zo werken