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

Craft 3 - Redirect from a URL that resolves not working #39

Closed
jasonmckinney66 opened this issue Mar 1, 2018 · 1 comment
Closed

Craft 3 - Redirect from a URL that resolves not working #39

jasonmckinney66 opened this issue Mar 1, 2018 · 1 comment

Comments

@jasonmckinney66
Copy link

Trying to redirect from a parent page to first child. Both urls resolve. The redirect does not work.
But, if the original source does not exist, the redirect works. Is this the intended functionality? In other words, must the source URL not exist within the site?

@johanzandstra
Copy link
Contributor

That is correct. The craft3 route lifecycle is described here:
https://github.com/craftcms/docs/blob/v3/en/routing.md
The plugin will handle requests in step 3. Before that, the requests go to existing enties an categories. If you want to re-route the requests of existing entries, you should configure it with server rewrite rules in the server config or .htaccess file.

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

2 participants