Page 1 of 1

Playing With Friendly URLs

Posted: Wed Jul 13, 2005 8:44 pm
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.

Re: Playing With Friendly URLs

Posted: Wed Jul 13, 2005 9:19 pm
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.

Re: Playing With Friendly URLs

Posted: Thu Nov 10, 2005 5:36 am
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.