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

New RedirectRule table schema #28

Open
mgrzyb opened this issue Apr 3, 2019 · 0 comments
Open

New RedirectRule table schema #28

mgrzyb opened this issue Apr 3, 2019 · 0 comments

Comments

@mgrzyb
Copy link
Contributor

mgrzyb commented Apr 3, 2019

RedirectRule

[ OldDomain: string? (all domains if null/empty) ]

OldPath : string (url encoded, e.g. "elo melo" => "elo%20melo")

NewUrl: string?
ContentId: int?

NewUrlRedirectType: Enum
	- Exact
	- Wildcard?
	- RegEx
	
RedirectOrigin: Enum
	- System (generated by when moving content, readonly but can be deleted)
	- User/Manual (might generate ContentId rule)
	- Import

CreatedBy: string (CurrentPrincipal.Name)

CreatedOn: DateTimeOffset (UTC)

IsActive: bool

Notes: string (/maritime/services/training => /maritime/training)

QueryStringHandling : Enum
	- match (careful: order of paramters, 2 queries for exact match)
	- passthrough
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant