Page 1 of 1

Pretty URLs without index.php?

Posted: Mon Oct 02, 2006 9:54 pm
by mark_l_sanders
I get reasonably 'pretty' urls, but each has the definitely unpretty 'index.php' in view. Is it possible to lose this?
My template does, fwiw, include the {metadata} tag in the head.
cheers
mark

Re: Pretty URLs without index.php?

Posted: Tue Oct 03, 2006 1:58 am
by Dr.CSS

Re: Pretty URLs without index.php?

Posted: Tue Oct 03, 2006 8:14 pm
by mark_l_sanders
Thanks for that. I now get prettier urls along the lines of: http://www.stjohnsjfc.co.uk//Photo_Gallery/.
Not bad, but notice the double forward slash afterthe root domain. Can I lose that?
mark

Re: Pretty URLs without index.php?

Posted: Wed Oct 04, 2006 11:14 am
by Dr.CSS
Think it's in the config.php like...

#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';  this may be a /