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

Redirect URL Not Working – 404 Error #3528

Open
navin-agarwaldata opened this issue Feb 17, 2025 · 1 comment
Open

Redirect URL Not Working – 404 Error #3528

navin-agarwaldata opened this issue Feb 17, 2025 · 1 comment
Assignees

Comments

@navin-agarwaldata
Copy link

navin-agarwaldata commented Feb 17, 2025

We have configured a redirect using the Redirect Manager UI in AEM, but after publishing, the redirect URL is throwing a 404 error instead of redirecting correctly. Below are the details:

Source Path: /content/smartly/nz/en/resource-centre/Policy-and-compliance/Guide-to-employment-policies
Target Path: https://smartly.co.nz/resource-centre/Policy-and-compliance/employment/Guide-to-employment-policies
Status Code: 301
Redirect Until: N/A
Note: N/A

We have configured another URL which is working as expected :
Source Path: /content/smartly/nz/en/support/help-centre/Employer-24/report-generator
Target Path: https://smartly.co.nz/support/help-centre/Employer/report-generator
Status Code: 301
Redirect Until: N/A
Note: N/A

Thank you in advance for help.

Image

Image
@YegorKozlov
Copy link
Contributor

The 2nd url is public, while the 1st one is protected by authentication. The request isn't making it to the Redirect Manager. AEM intercepts unauthorised requests and returns 401.

@YegorKozlov YegorKozlov self-assigned this Feb 20, 2025
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