How do you get a friendly URL on Liferay?
Friendly URL in Liferay
- Step 1:-Create Liferay Project and Portlet.
- Step 2:-Change view.jsp.
- Step 3:-Change your Controller.
What is friendly URL Liferay?
Friendly URL is way to shorten request URLs so that it’s very continent to use and remember. In liferay generally we can create any Portlet URL and portlet URL consist of many request parameters and its values apart from those we will add some more request parameters so that finally URL seems to very long.
How do you make a friendly URL in Liferay 7?
Liferay 7 High Level Steps for Friendly URL :
- Create routes.xml (like what you did in liferay 6)
- Create OSGI Service Component for Friendly URL. Liferay uses OSGI Services to customize or extend,so you are required to create OSGI Service for your portlet component. In the @Component annotation,
How do I change my default website in Liferay?
Simply find the Site you wish to delete and hit “action” then “delete”. Though renaming the landing site is a bit different, for that you’ll have to head over to the “Portal Settings” panel and change the Name.
How do I change friendly URL in Liferay 7?
Changing a Page’s Friendly URL In the General tab, use the Friendly URL field to enter a new URL for the Page. To set a localized URL, click on the Language Flag and select your desired language. When finished, click Save. The value entered in this field is appended to its Site URL and must be unique.
How do I change my site name on Liferay?
The website name is set by default as Liferay DXP. This name can be set to a new name by making changes in instance settings( Configuration-> Instance Settings -> Configuration -> Main Configuration -> Name).
How do I get a domain name in Liferay?
Inside Liferay DXP, open the Product Menu and go to Configuration → Settings under the Site Menu. Under the General tab, expand the Site URL panel. In the Public Pages or Private Pages inputs for the Developers Site, set the URL to point to the domain or subdomain (e.g. http://developers.my-site.com ).
How do I host a Liferay website?