XRouting 1.4.x removes the php constant MODX_BASE_URL in the plugin and adds a handy debug mode where you get a lot of information about how the routing works or why it doesn't work.
<h1>[[!#get.service:isequalto=``:then=`[[*pagetitle]]`:else=`[[!#get.service:ucwords]]`]]</h1>