This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

simpltekonline20120
simpltekonline20120

I have a page with the URL "/ministries", and I have another page with the URL "/ministries/adult". The first page's URL renders as expected on the website when put into an anchor tag like this on the backend:

// Code-behind
<a href='{{ 'ministries'|page }}'>Ministries</a>

// Render
<a href='http://website.com/ministries'>Ministries</a>

But for whatever reason, the second "sub" page's URL will not render correctly, which uses the following code on the backend.

// Code-behind
<a href='{{ 'ministries/adult'|page }}'>Adult Ministries</a>

// Render
<a href='http://website.com/ministries'>Adult Ministries</a>

When rendered on the website, the link just points to "ministries" instead of "ministries/adult"?? I thought slashes were allowed like this? Am I missing something?

And I've cleared cache, tried other browsers, etc. no dice :\ And yes, the page does exist, as I can go to it directly via http://website.com/ministries/adult with no problem. And I'm not trying to pass a parameter, but is that what it's being parsed as?

1-1 of 1

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.