-
-
Notifications
You must be signed in to change notification settings - Fork 4
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
Parent Page Redirect #80
Comments
If the parent redirect is enabled on a page (I'm thinking a boolean in the database, but whatever is best) and the page does not have a parent, then it should redirect to the website's homepage. |
I used the existing edit: changing the name also won't change this logic. The locations package will always be setting the flag true for location and market, so honoring the flag becomes conditional on whether its the only root page with the flag set or its the only child. |
There should be an option with Pages (#15) that allows a Page to redirect & route visitors through the Controller to the parent Page.
An example of a use case for this is with Pages that are created for Locations (TIPOFF/locations#42) where there is only 1 Location in a Market (TIPOFF/locations#41). In that case, I want to redirect the visitor to the parent Page (the Market page).
The text was updated successfully, but these errors were encountered: