- Is the same behavior with publish without dispatcher.
- The default target path is defined under configuration : Day CQ Root Mapping - Target Path property . For publish OOTB instance it is set to "/content/we-retail.html".
- Please verify if there is some redirection configured at dispatcher level.
No it is happening only through dispatcher. In publish instance home is working fine.
Day CQ Root Mapping - Target Path property is set to "/content" in configuration. Dispatcher configuration is fine, but I checked logs shoeing 302 response status.I think page cache is not happening properly so that it is redirect to login page.html
Please share some logs from the dispatcher.log so we can see why redirect is happening.
Also, if you suspect caching issue, please also share the dispatcher.any details so we can review the rules.