Page 1 of 1
Pretty URLs - removing parent from URL on CMSMS
Posted: Wed Jul 17, 2013 4:37 pm
by starfire
Hi,
I also have this problem but have the latest version of CMSMS (1.11.7) installed.
I've read that $config['use_hierarchy'] = false; is obsolete. So what is the method to remove the parent hierarchy from URLs now?
Thanks,
Titus
Re: Pretty URLs - removing parent from URL on CMSMS 1.8.1
Posted: Tue Jul 23, 2013 7:25 pm
by felek
Hello - This is not answer.. this is another question about pretty urls.
I want to remove some parts of url:
Code: Select all
http://dobry-dentysta.org/lista-stomatologow/mazowieckie/warszawa/luxdentic/
/lista-stomatologow/ - this is section header and i don't want it in my url
/mazowieckie/ i want this if i am on /mazowieckie/ website but if i am going deeper i just want to leave
Code: Select all
http://dobry-dentysta.org/warszawa/luxdentic/
or
Code: Select all
http://dobry-dentysta.org/warszawa/
My question is - is it possible to do it without any changes in core code?
If it's possible where can I get documentation or any information about it?
Thanks for information.
Best regards
Andrzej PajÄ…k
Re: Pretty URLs - removing parent from URL on CMSMS 1.8.1
Posted: Tue Jul 23, 2013 10:20 pm
by calguy1000
CMSMS 1.10.x + have the ability to specify individually the primary URL for every content page.
Re: Pretty URLs - removing parent from URL on CMSMS
Posted: Fri Jul 26, 2013 10:44 pm
by Rolf
Set "Flat URLs" in Global Settings (I think...)
Re: Pretty URLs - removing parent from URL on CMSMS
Posted: Sat Jul 27, 2013 11:11 am
by starfire
Hi Rolf,
I tested with these settings whilst clearing the cache but didn't have any effect.
Hi Calguy,
Thank you very much. This works. I didn't realise we had to individually specify the preferred URL for each page. (Still a bit odd that we can't just have the simpler method of setting this in the config file though.)
Cheers both,
Titus