For some reason I can't get the hierarchy in the URL to work?
i've set the url's to be friendly and that seems to be working okay
my urls are:
website.com/MainPage.html
When I add a page and set the parent to be the main I'm expecting the URL to be
website.com/MainPage/subpage.html
but i get: website.com/subpage.html
Have I missed a setting somewhere?
hierarchy in URLs
Re: hierarchy in URLs
Try to add this in config.php:
Code: Select all
$config['use_hierarchy'] = true;
Re: hierarchy in URLs
I have that in my config file, is there another setting somewhere?
Re: hierarchy in URLs
I just upgraded to version 1.10.3 i followed the steps in the documentation:
http://docs.cmsmadesimple.org/configuration/pretty-url
and added "$config['use_hierarchy'] = true;"
http://docs.cmsmadesimple.org/configuration/pretty-url
and added "$config['use_hierarchy'] = true;"
Re: hierarchy in URLs
you dont need that.fivepix wrote:and added "$config['use_hierarchy'] = true;"
Check global settings page, there is a setting for "flat urls".
Rolf
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -