# Routing Question w/ Separators

**URL:** <https://www.ruby-forum.com/t/routing-question-w-separators/89921>\
**Category:** Rails\
**Created:** [March 23, 2007, 8:29pm UTC](https://www.ruby-forum.com/t/routing-question-w-separators/89921 "2007-03-23T20:29:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![wilson](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/96bed5/32.png) [@wilson](https://www.ruby-forum.com/u/wilson)\
**Post date:** [March 23, 2007, 8:29pm UTC](https://www.ruby-forum.com/t/routing-question-w-separators/89921/1 "2007-03-23T20:29:10Z")

</div>

How can I create a route that resembles “[myhost.com/news/page1](http://myhost.com/news/page1)”?

I have tried this using:  
map.connect “news/page.:page”, :controller =\> “article”, :action =\>  
“all”

I get “[myhost.com/news/page.1](http://myhost.com/news/page.1)”. It gives me the separator as part of  
the URL, which I do not want. How can i separate text from symbol in  
my route without having a separator (ie. / or .) from appearing as  
well? Thanks!
