Page 1 of 1

(Opgelost) pretty url

Posted: Thu Oct 29, 2009 1:07 pm
by Silvie
Al een paar keer met succes uitgevoerd.
Nu lukt het me niet en geen idee waarom.
Dit zijn de instellingen in config.php, of altans wat ik er nu van gemaakt heb:


#------------
#URL Settings
#------------

#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 {metadata} in your page templates.  For more
#information, see:
#http://wiki.cmsmadesimple.org/index.php ... ty_URL.27s
$config['url_rewriting'] = 'none';

#Extension to use if you're using mod_rewrite for pretty URLs.
$config['page_extension'] = '/';

#If you're using the internal pretty url mechanism or mod_rewrite, would you like to
#show urls in their hierarchy?  (ex. http://www.mysite.com/parent/parent/childpage)
$config['use_hierarchy'] = true;

#If using none of the above options, what should we be using for the query string
#variable?  (ex. http://www.mysite.com/index.php?page=somecontent)
$config['query_var'] = 'page';

$config['assume_mod_rewrite'] = true;

$config['internal_pretty_urls'] = true;
############

.htaccess staat er al.

Iemand een idee?

Re: pretty url

Posted: Thu Oct 29, 2009 1:17 pm
by Rolf
$config['url_rewriting'] = 'mod_rewrite';
Maar welke release gebruik je?
Of heb je hier zelf regels toegevoegd aan de config.php?

Grt. Rolf

Re: pretty url

Posted: Thu Oct 29, 2009 1:47 pm
by Silvie
Ja inderdaad zelf regels toegevoegd.

Ik had een uitleg waar de instellngen er anders uitzagen dan dat ik in de  config.php kon vinden. Dus aan het proberen gegaan.
Waar kan ik dat vinden welke release?

Re: pretty url

Posted: Thu Oct 29, 2009 1:59 pm
by Rolf
Ja inderdaad zelf regels toegevoegd.

Ik had een uitleg waar de instellngen er anders uitzagen dan dat ik in de  config.php kon vinden. Dus aan het proberen gegaan.
Dat vermoedde ik al  ;D
In de laatste releases is hier het één en ander gewijzigd en hoe het er bij jou stond kwam me al niet bekend voor...  ;)
Lees: http://forum.cmsmadesimple.org/index.ph ... 912.0.html #1 voor de juiste instellingen (en regels).

Grt. Rolf

Re: pretty url

Posted: Thu Oct 29, 2009 3:29 pm
by Silvie
Yes het is nu goed!

$config['url_rewriting'] = 'mod_rewrite';  Stond nog niet goed ( in none)
De rest heb ik maar weer even weggehaald en nu weer origineel zo hij was, met veranderingen dan.

Heel erg bedankt weer!


Opgelost