Links not working Topic is solved

General project discussion. NOT for help questions.
Post Reply
shandog

Links not working

Post 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
amygdela

Re: Links not working

Post by amygdela »

have you copied htaccess.txt to your main folder and renamed it to .htaccess?
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am

Re: Links not working

Post 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
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. :)
shandog

Re: Links not working

Post by shandog »

Elijah,
Sorry for the late response, but thanks for your information, it was very helpful.
Post Reply

Return to “General Discussion”