Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

How to avoid default redirection to /index.html

Avatar

15-10-2015

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 

View Entire Topic

Avatar

Avatar
Boost 5
Employee
kalyanar
Employee

Likes

5 likes

Total Posts

182 posts

Correct Reply

78 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Affirm 50
Affirm 5
View profile

Avatar
Boost 5
Employee
kalyanar
Employee

Likes

5 likes

Total Posts

182 posts

Correct Reply

78 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Affirm 50
Affirm 5
View profile
kalyanar
Employee

15-10-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]