Sign in to Community
Sign in to view all badges
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.
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.
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]