Search code examples
configurationaemdispatcher

Configuration to change the landing page on AEM Dispatcher


Is there any configuration we need to provide on AEM dispatcher settings for redirecting the domain to landing page?

For example,

user enters mydomain.com, the page should redirect to www.mydomain.com/index.jsp


Solution

  • Added the following configuration in httpd.conf file for the requirement.

    <IfModule mod_rewrite.c>
    
    RewriteEngine on
    
    RewriteRule ^/$ /index.jsp [R=301]
    
    </IfModule>