hallo
wampserver ben bezig met een website probeer ik de Pretty URL
home doet het maar zoals andere links doen het niet als ik met mijn muis overheen ga Pretty URL doen het zodra ik er op klik geeft hij fout melding weet jullie misschien wat de oorzaak is ?
trouns heb ik rolf pm gesteurd kreeg dit als antwoord
Bij een wamp server werkt pretty url toch net even wat anders. Eigenlijk gewoon niet... Even uitzetten dus.
wat moet ik hier uitzetten?
[opgelost]: pretty url wampserver
Moderator: velden
[opgelost]: pretty url wampserver
Last edited by rido on Sun Dec 13, 2009 9:46 am, edited 1 time in total.
Re: pretty url wampserver
het pretty url mechanisme kun je uitschakelen in de config.php. even in die code duiken dus 

Re: pretty url wampserver
dank je wel voor je snelle reactie zal eff proberen
Re: pretty url wampserver
als die zo zet dan krijg ik oude url
heb eff zo gedaan
heb eff zo gedaan
#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'] = 'mod_rewrite';
#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';
Last edited by rido on Sun Dec 13, 2009 12:17 am, edited 1 time in total.
Re: pretty url wampserver
Als je het netjes wil doen, dan in plaats van
maak je er
van
Code: Select all
#$config['url_rewriting'] = 'mod_rewrite';
Code: Select all
$config['url_rewriting'] = 'none';
Re: pretty url wampserver
ik heb het eff naar wat je zei verandert maar de url is
zou dat mogelijk zijn ?
de url is http://localhost/index.php?page=portofolio maar ik wil dat hij zo verandert http://localhost/portofolio#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';
zou dat mogelijk zijn ?
Re: pretty url wampserver
Ja dat kan, maar mogelijk niet met WAMP zoals Rolf al aangaf. Ook op Windows servers zul je tegen problemen aanlopen trouwens.
Overigens zou ik portofolio ook veranderen naar portfolio
Overigens zou ik portofolio ook veranderen naar portfolio

Re: pretty url wampserver
ok bedankt voor de hulp ik zal me verder niet in verdiepen ik zal het als opgelost zetten 
