Page 1 of 1

showing URL's like in categories [solved]

Posted: Fri Aug 03, 2007 11:03 am
by justjust
Hello,
lets say I have page with structure:
first page
  - first page sub
  - first page sub no 2
secont page
third page
  -third page sub


Can I rewrite URL's in someway to show address like www.mydomain.com/first-page/first-page-sub.php? I made rewrite script which writes nice url's for all pages like www.mydomain.com/first-page-sub.php, but I want sub pages to be showed like in directory. I think I need some kind of modification in CMSMS?

I hope it was understandable :)
Thanks in advance

Re: showing URL's like in categories

Posted: Fri Aug 03, 2007 1:09 pm
by Pierre M.
Hello,

do you mean how to reflect the hierarchy in the URLs ? This is builtin, see post installation optional settings.
Something like $config['use_hierarchy'] = true;
Hope I have understood well
Have fun

Pierre M.

Re: showing URL's like in categories

Posted: Fri Aug 03, 2007 1:19 pm
by justjust
Yes, thats what I was looking for,
Thank you very much ;)

Re: showing URL's like in categories [solved]

Posted: Mon Oct 01, 2007 2:02 pm
by Phrontis
Yahoo!

the article on pretty URLs and mod_rewrite, referenced above, explains it very well. The only trouble I had was finding the htaccess document, until I realized it was in the doc folder installed along with CMSMS on my site.

Thanks the help ...