Redirect Module not redirecting URLs contains query string.

john martin asked on March 9, 2017 08:40

The custom redirection module not redirecting such URLs that contains query string and resulting in 404 error page. I need to redirect this URL https://www.abc.com/contact-us?refer= to https://www.abc.com/contact-us

Recent Answers


Ilesh Mistry answered on March 9, 2017 10:13

Hi John, which custom redirect module are you using? Kentico URL Redirection

If so, should you not be using relative paths? /contact-us?refer= to /contact-us?

0 votesVote for this answer Mark as a Correct answer

john martin answered on March 9, 2017 12:29

Hey Ilesh, No I am using Custom 301 Redirect Module and I am providing relative paths but still not redirecting.

0 votesVote for this answer Mark as a Correct answer

Ilesh Mistry answered on March 9, 2017 13:40

Okay, I have not used that module.

Did you try the relative paths option? Do the other redirects without ? work? If so, it could be that this module may not be able to handle redirects of those kind?

0 votesVote for this answer Mark as a Correct answer

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