Playing With Friendly URLs

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.
Locked
hman

Playing With Friendly URLs

Post by hman »

I'd love to use the clean URLs feature in CMSMS, but it doesn't do exactly what I need. Basically, content pages with apostrophes in the title show up like this right now:

http://reflectionz3.com/Dayton_s_Birthday.html

I need the new URL to be in lower case with the apostrophe and underscores removed, like this:

http://reflectionz3.com/daytonsbirthday.html

Even better, it would be great if the parents of a page could show up as a folder. For example, if a page had a parent called "Articles", the modded URL would show up with the page under a folder called "articles." The URL would then look like this:

http://reflectionz3.com/articles/daytonsbirthday.html

Is there a way to do this? Any help would be appreciated.
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: Playing With Friendly URLs

Post by Ted »

When you edit the page, you can modify the alias.  That's what is used for clear urls.  If you're doing a lot of pages, set auto_alias_content to false in config.php and you will get the option when you add pages also.
Blaze

Re: Playing With Friendly URLs

Post by Blaze »

The only problem with this is you arent allowed to put in slashes " / " in the page alias. I am also interested in how to do this into subdirectories like mentioned but have not been able to get it working yet.
Locked

Return to “CMSMS Core”