# Case Sensitivity

**URL:** <https://www.ruby-forum.com/t/case-sensitivity/68407>\
**Category:** Radiant CMS\
**Created:** [September 12, 2006, 1:56pm UTC](https://www.ruby-forum.com/t/case-sensitivity/68407 "2006-09-12T13:56:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pezdude](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/a87d85/32.png) [@pezdude](https://www.ruby-forum.com/u/pezdude)\
**Post date:** [September 12, 2006, 1:56pm UTC](https://www.ruby-forum.com/t/case-sensitivity/68407/1 "2006-09-12T13:56:47Z")

</div>

Hi,

The old site I am migrating to Radiant used mixed case URLs, and  
Radiant is case sensitive.

I’d prefere to have all lowercase URLs (as per default slugs)

Is there a way to set Radiant case insensitive?

–  
Regards,  
Dave

---

<div class="post-metadata">

**Author:** ![pezdude](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/a87d85/32.png) [@pezdude](https://www.ruby-forum.com/u/pezdude)\
**Post date:** [September 12, 2006, 2:40pm UTC](https://www.ruby-forum.com/t/case-sensitivity/68407/2 "2006-09-12T14:40:54Z")

</div>

Dave C. wrote:

> The old site I am migrating to Radiant used mixed case URLs, and  
> Radiant is case sensitive.
> 
> I’d prefere to have all lowercase URLs (as per default slugs)
> 
> Is there a way to set Radiant case insensitive?

No. It should be pretty easy to create a plugin to do this though. You  
would need to do the following:

- add a validations on Page#slug so that it had to be a unique  
non-case-sensitive URL

- modify the find method on Page so that it is case insensitive

I think that’s it.

–  
John L.  
[http://wiseheartdesign.com](http://wiseheartdesign.com)
