Pods Framework for WordPress
Home » Topics » Pods 1.x » Pod Pages Wildcards – More Than 1 Level
This topic contains 3 replies, has 4 voices, and was last updated by chriscarvache 1 year, 9 months ago.
I have a Pod Page named email/*
The routing doesn’t seem to be working as it should for higher than 1 level.
From what I understand that page should handle, http://localhost/email/subscribe/asdfadf and http://localhost/email/unsubscribe/asdfadf.
Those URIs only works when I create a page named email/* /*.
Am I doing something wrong? Or is that how the page should be setup.
I believe if you want a 2 wildcard pod, you need to have a page that is named "email/
Pods is not greedy with it’s URL handling for Pod Pages, so one * wildcard will not eat up URLs more than one level deep.
For example, if you have a pod page called mystuff/* you won’t hit that pod page when you go to mysite.com/mystuff/awesome/stuff/
If the section implies its greedy please disregard. Accessing the URLS is quite simple…
Experiment with this and you’ll find your desired results.
You must be logged in to reply to this topic.