pretty urls page extensions

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
eugen_r2
New Member
New Member
Posts: 4
Joined: Fri Oct 01, 2010 5:06 pm

pretty urls page extensions

Post by eugen_r2 »

Is there a way to append the page extension only to some pages when using pretty urls?
I don't mind coding some php, but I can't figure out what classes/files deal with the page extension appending.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: pretty urls page extensions

Post by Dr.CSS »

Any particular reason you would only want some pages to have extensions and not others?...
eugen_r2
New Member
New Member
Posts: 4
Joined: Fri Oct 01, 2010 5:06 pm

Re: pretty urls page extensions

Post by eugen_r2 »

I have a site composed of static pages.  Some of them are in subdirectories. I want to simulate (for SEO) in CMSMS the subdirectories by using parent pages. The parent pages shouldn't have any extension.

If there is another way of simulating the subdirectories, please let me know.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: pretty urls page extensions

Post by Dr.CSS »

Sectionheaders...
eugen_r2
New Member
New Member
Posts: 4
Joined: Fri Oct 01, 2010 5:06 pm

Re: pretty urls page extensions

Post by eugen_r2 »

Thanks for the answer.

It doesn't work as I expected because the section headers can't be associated with content; if I request a sh (http://example.com/sectionheader/) I get a 404. I would like to reach a page (like an index page) when requesting http://example.com/sectionheader/.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: pretty urls page extensions

Post by Dr.CSS »

Then the short answer is no you can't, it may be possible in CMS Made Simple 1.9...
Post Reply

Return to “CMSMS Core”