liferay 7.1: I have two pages p1 and p2, on p1 I have a portlet A in which some blog title are listed, upon clicking on this, I want to redirect to page2 which contains a portlet, which will show details of blog.

2

There are 2 best solutions below

0
On
<a href="http://localhost:8080/web/configuration/show-account">redirect</a>"

redirect to the page where your portlet is being placed.

0
On

Just set the href to the name of the second page.

If you are using aui:

<aui:a href="yourSecondPageName">

If not:

<a href="yourSecondPageName">