Page 1 of 1
Links not working
Posted: Sun Jul 02, 2006 3:35 am
by shandog
I have installed cmsms and am having an issue with the links. The links are coming out as
http://www.mysite.com/cms/index.php/Contact
Basically, the page name is being appended to the url with a preceding slash. I am getting page not found errors.
Any ideas on how to properly link to the pages I create in cmsms?
Thanks
Re: Links not working
Posted: Mon Jul 03, 2006 3:48 pm
by amygdela
have you copied htaccess.txt to your main folder and renamed it to .htaccess?
Re: Links not working
Posted: Mon Jul 03, 2006 7:34 pm
by Elijah Lofgren
shandog wrote:
I have installed cmsms and am having an issue with the links. The links are coming out as
http://www.mysite.com/cms/index.php/Contact
Basically, the page name is being appended to the url with a preceding slash. I am getting page not found errors.
Any ideas on how to properly link to the pages I create in cmsms?
The builtin pretty URL scheme doesn't work on some webhosts (does not work with IIS, for example).
Open config.php,
find:
Code: Select all
$config['internal_pretty_urls'] = true;
change it to:
Code: Select all
$config['internal_pretty_urls'] = false;
Should fix your problem. This will be off by default in CMSMS 1.0
For a way to use .htaccess to get URLs like:
www.example.com/parent/child
see:
http://wiki.cmsmadesimple.org/index.php ... retty_URLs
Re: Links not working
Posted: Wed Jul 12, 2006 4:04 am
by shandog
Elijah,
Sorry for the late response, but thanks for your information, it was very helpful.