Artikelen

Pretty URL's in CMSMS

Gepost door joost op 13 jul 2010 in de categorie CMS
Een mooie website maakt gebruik van Pretty URL's. In CMS Made Simple moet je dit instellen in de config.php file en je moet de htaccess file instellen. Hoe je dit doet wordt hieronder uitgelegd.

Verander het volgende in de config.php in de public_html dir ('none' wordt 'mod_rewrite'):

#What type of URL rewriting should we be using for pretty URLs?  Valid options are:
#'none', 'internal', and 'mod_rewrite'.  'internal' will not work with IIS some CGI
#configurations. 'mod_rewrite' requires proper apache configuration, a valid
#.htaccess file and most likely in your page templates.  For more
#information, see:
#http://wiki.cmsmadesimple.org/index.php/FAQ/Installation/Pretty_URLs#Pretty_URL.27s
$config['url_rewriting'] = 'mod_rewrite';

Ga naar ftp naar doc en kopieer htaccess.txt naar public_html en hernoem naar .htaccess

That's it!





Terug