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 set the website URL to hit he home page in Cloud AEM

Avatar

Avatar
Ignite 10
Level 4
TB3dock
Level 4

Likes

34 likes

Total Posts

203 posts

Correct Reply

4 solutions
Top badges earned
Ignite 10
Boost 25
Give Back 25
Validate 10
Validate 1
View profile

Avatar
Ignite 10
Level 4
TB3dock
Level 4

Likes

34 likes

Total Posts

203 posts

Correct Reply

4 solutions
Top badges earned
Ignite 10
Boost 25
Give Back 25
Validate 10
Validate 1
View profile
TB3dock
Level 4

03-06-2021

in AEM we have a home page, e.g. 

/content/site1/en/home.html

we can access this by entering www.oursite.com/content/site1/en/home.html

But if a user hits www.oursite.com they get a blank page.

I am guessing we need to setup some sort of redirect in dispatcher, but didnt find any tutorials for this.  There were different instructions for IIS and apache, but as its cloud, we dont know which if these are being used.

Any suggestions?

We know about apache configuration, so are comfortable with virtual hosts etc, but have no idea about farms.

NOTE: this is for non prod for now.

 

 

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Give Back 100
Level 10
asutosh_jena
Level 10

Likes

551 likes

Total Posts

663 posts

Correct Reply

191 solutions
Top badges earned
Give Back 100
Boost 500
Affirm 100
Ignite 1
Establish
View profile

Avatar
Give Back 100
Level 10
asutosh_jena
Level 10

Likes

551 likes

Total Posts

663 posts

Correct Reply

191 solutions
Top badges earned
Give Back 100
Boost 500
Affirm 100
Ignite 1
Establish
View profile
asutosh_jena
Level 10

03-06-2021

Hi @TB3dock 

 

You need to apply a redirect in your dispatcher. Please add the below rule.

 

RewriteCond %{REQUEST_URI} ^/$
RewriteRule (.*) /content/site1/en/home.html [PT,L]

Thanks! 

Answers (0)