CQ - How to change default landing page from project.html (touch view) to welcome.html(classic view)?

There are two approaches to change the default landing page. One is through CRX explorer and other is through OSGi console

First approach (CRX explorer)
a)      Open Content Explorer through http://localhost:4502/crx/explorer/index.jsp and click on Content Explorer hyperlink
b)      Search for projects.html through the search icon as shown in below screenshot


c)       Click on RootMappingServlet and change the value from /projects.html to welcome.html
d)      Save the configuration and open localhost:4502 again. It should open welcome.html by default

Second approach (OSGi/Web console) 

Other approach is to change it through OSGi (Web) console. Below are steps to change is through web console

a)      Open OSGi/Web console through http://localhost:4502/system/console/configMgr and click on OSGi--> Configuration. 
b)      Search for “Root Mapping” in the configuration.
c)       Click on Day CQ Root Mapping name.


d)      Once Root mapping pop up is open, change the target path from /projects.html to /welcome.html. You can verify the configuration by opening http://localhost:4502. It should take us to http://localhost:4502/welcome.html


Comments

  1. can we set the landing location based on the user group. i.e. if user belongs to abc group then abc.html should open .

    ReplyDelete
  2. Thank you for sharing, I found this article is very helpful and easy to understand. Keep up the good work, guys!

    Web Designer

    ReplyDelete
  3. I liked the way you wrote the article. It was very straightforward and your knowledge on the subject is fantastic.
    Ecommerce Website Development Services
    SEO Services in Bangalore

    ReplyDelete
  4. It is extremely helpful for me. Thank you for taking the time to discuss this. I feel strongly about it and love learning more on this topic. If possible, as you gain expertise, would you mind updating your blog with more information.
    Digital Marketing Courses in indore,JCB Full Form in Hindi, Best Digital Marketing Institute in Indore, Best PUBG Mobile Triggers, Digital Marketing Services in Indore, Digital Marketing Training in indore, Jio Full Form

    ReplyDelete
  5. Akshay Digital upload a host of valuable services from various developers and entrepreneurs across the globe.
    In short, this website will provide hundreds of services for various niches. You cannot see the services list on this page. They are present as subdomains and landing pages

    ReplyDelete

Post a Comment

Popular posts from this blog

Brief guide to ecommerce

CQ - How to set replication automatically from Author instance to publisher instance

New age career opportunities in Information Technology after graduation