How can I deploy a static html file in Liferay 7.2?

Alla Sapozhnikova, modified 1 Year ago. Junior Member Posts: 82 Join Date: 3/2/12 Recent Posts

Hi there,

is there a way to deploy to Liferay 7.2 DXP a static html file so that it's URL will be https://myportal.com/myfile?

Thank you.

Alla

 

thumbnail
Mohammed Yasin, modified 1 Year ago. Liferay Master Posts: 593 Join Date: 8/8/14 Recent Posts

Hi,

You can create a folder inside Liferay Home -> Tomcat -> WebApp -> Test and place your static HTML files inside that. Then you can access it from the URL.

 https://myportal.com/Test/filename.html