URL disaster
Posted: Fri Jul 15, 2011 11:22 pm
Hello,
Please help me I have tried to have a go at setting pretty URL's and have caused a major problem with opening front end and backend of my site
I opened config.php
and this is the section that I edited
I added this
What should have been default written
after
between the '.....' ?
I cant open anything please help
yes I am a noob
Please help me I have tried to have a go at setting pretty URL's and have caused a major problem with opening front end and backend of my site
I opened config.php
and this is the section that I edited
#------------
#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'] = ''
#Extension to use if you're using mod_rewrite for pretty URLs.
$config['page_extension'] = '';
#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';
I added this
Code: Select all
$config['url_rewriting'] = 'mod_rewrite'; // this is new from 1.6
$config['page_extension'] = '.html';
$config['use_hierarchy'] = true; // this will be the standard from 1.7
$config['query_var'] = 'page';after
Code: Select all
$config['url_rewriting'] = 'I cant open anything please help
yes I am a noob