Page 1 of 1

really simple menu/pages/content question

Posted: Wed Nov 16, 2005 6:06 pm
by docPedro
hello-

first off this cms system rocks.

my question:
can someone tell me where the pages are that the links in the menu point to?

its so obvious that i am missing it. if i have a link in the menu that came from adding content in the 'Add Content' admin why when clicking that link is the page not found. do i need to upload a page? i thought the page was generated on the fly by the database etc..? i am totally lost on this (but everything else is going well, so far...)

thanks

Re: really simple menu/pages/content question

Posted: Tue Apr 04, 2006 10:30 pm
by KGarrett
I, too am having this problem. I checked the previous settings, and they are set to use .html extension and mod_rewrite is "true".

Here is my site: www.dan-and.kelly.com

The links simply do not work. They're pointing to an .html page. I can't find them anywhere on my server. Any ideas??!?

Re: really simple menu/pages/content question

Posted: Wed Apr 05, 2006 3:20 pm
by tsw
if you have in your config.php file something like this

Code: Select all

$config['assume_mod_rewrite'] = true;
$config['page_extension'] = '.htm';
You also need to copy htaccess file from /doc/ folder to your cmsms directory.

so what happens when page is created?
cmsms checks the config and sees assume_mod_rewrite and thinks OK I will make my links look like html files and get extension from page_extension configuration. All menu links now look something like http://server.com/page.html. Now your browser wants to go to that link and it sends http get message to apache to server that page for it. Apache sees .htaccess file and the rewrite rule in it and thinks OK I will look where this rewrite rule goes to and gets that address instead (something like http://server.com/index.php?page=page) and serves the content from there.

this way your browser gets right content from "wrong" address..

pros:
SEO friendly
Human readable

cons:
causes tiny amount overhead for apahce (this doesnt really matter :)

Re: really simple menu/pages/content question

Posted: Wed Apr 12, 2006 7:23 pm
by KGarrett
I have those settings, etc. but am still getting the same problem. What should the CHMOD be for the access file?