Page redirecting to 404 Not Found when redirect page with additional path information.

Prashant Garg asked on June 3, 2015 15:20

Hi,

i am redirecting page using JS -> window.location.href = '/Support/Online-Enquiry-Form.aspx/HelpWithProducts'; that showing Application_Error in Event Log and page redirecting to 404 Not Found in Kentico 8.0. but working well in Kentico 7.0. Have any solution how to redirect page with additional path information.

Correct Answer

Prashant Garg answered on June 5, 2015 08:26

Thankyou Brad,

Issue has been fixed. I added new alias and set Path or pattern inside url property like as: /Support/{-}/{-} and now that working fine.

0 votesVote for this answer Unmark Correct answer

Recent Answers


Brad Vrudney answered on June 3, 2015 18:36 (last edited on June 3, 2015 18:36)

Is HelpWithProducts a querystring parameter that you are doing a wildcard url for?

https://docs.kentico.com/display/K8/Wildcard+URLs

I'm asking because it is after the .aspx extension, which means we need more information about your setup.

1 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.