How to avoid default redirection to /index.html | Community
Skip to main content
October 16, 2015
Solved

How to avoid default redirection to /index.html

  • October 16, 2015
  • 2 replies
  • 3149 views

We have created a website smart.com

we have the path for our homepage  as smart.html

this is the first page in our AEM site structure.

When we type smart.com we should get the home page displayed with URL as smarter.com/content/smarter.html

But by default its getting redirected to smarter.com/index.html.

How we need to stop this redirection?

Where is the setting to remove this default redirection, which is creating a problem for our site  for SEO purpose.

 

Any help in this regard is really appreciated.

Thanks 

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 Lokesh_Shivalingaiah

Hi,

Ideally, when you hit smarter.com, hit should redirect by default to a geometrixx english page. This can be changed in multiple ways as mentioned below.

however, am not sure of it redirecting to /index.html unless there is some redirection configured at your webserver level.

Changing the root path:

Option 1: Go to /system/console/configMgr, search for 'Day CQ Root Mapping'. Configure the Target to '/content/smarter.html' and save. 

Option 2: Goto to crxde, in the content node, there will be a property called sling:target which will have 'geohome' has the value. Change that value to your page and save.

2 replies

Adobe Employee
October 16, 2015

Please write a rewrite rule at your webserver to redirect to the page you want when the user just types the domain in the browser url

RewriteRule  "^/$"                 "//content/smarter.html"  [PT]
Lokesh_Shivalingaiah
Lokesh_ShivalingaiahAccepted solution
October 16, 2015

Hi,

Ideally, when you hit smarter.com, hit should redirect by default to a geometrixx english page. This can be changed in multiple ways as mentioned below.

however, am not sure of it redirecting to /index.html unless there is some redirection configured at your webserver level.

Changing the root path:

Option 1: Go to /system/console/configMgr, search for 'Day CQ Root Mapping'. Configure the Target to '/content/smarter.html' and save. 

Option 2: Goto to crxde, in the content node, there will be a property called sling:target which will have 'geohome' has the value. Change that value to your page and save.