Reputation: 430
When a user enters localhost:4502 the landing page located at /content/****/****/shop.html should be loaded.
Tried this.
Can you please suggest
Upvotes: 0
Views: 267
Reputation: 430
Copied the config folder from /libs/cq/core/
to /app/<project>/
overridden the com.day.cq.commons.servlets.RootMappingServlet
for publish instance.
Ref: BLOG
Upvotes: 0
Reputation: 18553
Go to CRXDE on your Author instance and open the /content
node.
The resource type of this node is sling:redirect
, its purpose is to take the user to another page when they try to a page specified by the node's sling:target
property. This is handled by the Sling Redirect Servlet.
Set sling:target
to the path of the page you want to serve (/content/****/****/shop.html). Save the changes.
Then go to the site admin (Websites) and activate the /content
page.
Once the content change makes it to the Publish instance, your page should be served when you hit http://localhost:4503
Upvotes: 1