How to control multiple 301 redirects?? | Community
Skip to main content
GK-007
New Participant
June 22, 2016
Solved

How to control multiple 301 redirects??

  • June 22, 2016
  • 3 replies
  • 898 views

Hi All,

We are observing there are multiple 301 requests are going to when we request for a page.

For our application when i request www.xxxx.com/uk ,it's redirecting to www.xxxx.com/uk/, www.xxxx.com/uk.html and finally redirecting to actual required page URL www.xxxx.com/uk/en.html

How to avoid this kind of situation and redirecting to required/actual page.

Thanks,

Kishore

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by kautuk_sahni

+1 with Jitendra.

Why have we implemented it in this fashion?

Reference Link:- http://aem.matelli.org/url-mapping-and-deep-linking/ (Read sling:Mapping Redirects).

 

Thanks and Regards

Kautuk Sahni

3 replies

GK-007
GK-007Author
New Participant
June 22, 2016

Not sure about current implementation but seeing there is a lag when redirecting to actual page.

kautuk_sahni
kautuk_sahniAccepted solution
Employee
June 22, 2016

+1 with Jitendra.

Why have we implemented it in this fashion?

Reference Link:- http://aem.matelli.org/url-mapping-and-deep-linking/ (Read sling:Mapping Redirects).

 

Thanks and Regards

Kautuk Sahni

Kautuk Sahni
Jitendra_S_Toma
New Participant
June 22, 2016

Well, The question is why have you done like this?. Have you set the same mapping in etc/map as well? I think this can be fixed by right apache re-write rules.

Regards,

Jitendra