Pretty URLs without index.php?

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
mark_l_sanders

Pretty URLs without index.php?

Post 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
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Pretty URLs without index.php?

Post by Dr.CSS »

mark_l_sanders

Re: Pretty URLs without index.php?

Post 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
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Pretty URLs without index.php?

Post 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 /
Locked

Return to “CMSMS Core”