# \<r:url /\> and \<r:if\_url matches\> help plz

**URL:** <https://www.ruby-forum.com/t/r-url-and-r-if-url-matches-help-plz/86503>\
**Category:** Radiant CMS\
**Created:** [February 22, 2007, 8:35pm UTC](https://www.ruby-forum.com/t/r-url-and-r-if-url-matches-help-plz/86503 "2007-02-22T20:35:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nexflo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/58956e/32.png) [@nexflo](https://www.ruby-forum.com/u/nexflo)\
**Post date:** [February 22, 2007, 8:35pm UTC](https://www.ruby-forum.com/t/r-url-and-r-if-url-matches-help-plz/86503/1 "2007-02-22T20:35:42Z")

</div>

hey guys…

im a bit confused…

\<r:url /\> doesnt seem to give me the full path to the current page…  
first I thought thats coz im using navigation tag, but even after  
calling

\<r:find url="\<r:url /\>\<r:slug /\>"\>  
\<r:url /\>  
\</r:find\>

it gives me the parent of the current page…

well tahts just part of the problem…coz im trying to check if im on  
the current page via “if\_url matches”

but if I cant even get “url” to spit out my current page, hows the regex  
of if\_url gonna do that?!!?

anyone had the prob before?  
thx in advance

Flo,

---

<div class="post-metadata">

**Author:** ![nexflo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/58956e/32.png) [@nexflo](https://www.ruby-forum.com/u/nexflo)\
**Post date:** [February 22, 2007, 11:59pm UTC](https://www.ruby-forum.com/t/r-url-and-r-if-url-matches-help-plz/86503/2 "2007-02-22T23:59:55Z")

</div>

fixed it up…was the navigation tag’s fault and me being dumb =)
