Skip to content

Improve PagePathHistory to support urlsegments #338

@adrianbj

Description

@adrianbj

Short description of the enhancement

It would be great if PagePathHistory could support urlsegments so that a URL like:

/subscribe/testcoupon/

would be rewritten to:

/buy-now/testcoupon/

if the page with name subscribe was renamed to buy-now and the page's template makes use of urlSegment1 to get the value for a coupon code entered in the url.

I am curious whether you ever tried to support this or not. I expect it will be a little tricky but my hunch is that it should be doable. Let me know if you interested in supporting or not and if not, I might see about supporting it via a third party module.

Thanks for considering.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions