Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to define "404 Redirect" rules with access policy #64

Closed
aamplugin opened this issue Feb 21, 2020 · 1 comment
Closed

Ability to define "404 Redirect" rules with access policy #64

aamplugin opened this issue Feb 21, 2020 · 1 comment

Comments

@aamplugin
Copy link
Owner

Currently, there is no way to define "404 Redirect" rules with Access Policy. That will be a great addition to the policies.

In addition to that, we need to move 404 redirects to be AAM core object so redirects can be defined per any given role, user, visitors or default settings for everybody.

@aamplugin aamplugin self-assigned this Feb 21, 2020
@aamplugin aamplugin added this to the 6.4.0 - AAM milestone Feb 21, 2020
@aamplugin aamplugin added this to In progress in Advanced Access Manager Mar 3, 2020
@aamplugin
Copy link
Owner Author

Following schema is going to be supported:

{
    "Param": [
        {
            "Key": "redirect:on:404",
            "Value": {
                "Type": "default"
            }
        },
        {
            "Key": "redirect:on:404",
            "Value": {
                "Type": "page",
                "Id": "[0-9]+",
                "Slug": ".*"
            }
        },
        {
            "Key": "redirect:on:404",
            "Value": {
                "Type": "url",
                "URL": ".*"
            }
        },
        {
            "Key": "redirect:on:404",
            "Value": {
                "Type": "callback",
                "Callback": ".*"
            }
        }
    ]
}

aamplugin pushed a commit that referenced this issue Mar 3, 2020
@aamplugin aamplugin moved this from In progress to Done in Advanced Access Manager Mar 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Advanced Access Manager
  
Ready For Release
Development

No branches or pull requests

1 participant