Pod Pages Wildcards – More Than 1 Level

This topic is: not resolved

This topic contains 3 replies, has 4 voices, and was last updated by  chriscarvache 1 year, 10 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #165895

    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.

    #165896

    chris.pilko
    Member

    I believe if you want a 2 wildcard pod, you need to have a page that is named "email/

    ". (I believe the wp mod-rewrite rules eliminate the double trailing slash.) It’s not RESTful, but couldn’t you pass asdfadf as a GET or POST variable?

    #165897

    sc0ttkclark
    Keymaster
    Post count: 850

    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/

    #165898

    If the section implies its greedy please disregard. Accessing the URLS is quite simple…

    Experiment with this and you’ll find your desired results.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

Wordpress Cloud Hosting