Custom Lightning Redirect VisualForce Page
<apex:page showHeader="false" sidebar="false" controller="CustomContactRedirectController">
</apex:page>
<apex:page showHeader="false" sidebar="false" controller="CustomContactRedirectController">
<apex:pageBlock >
<apex:pageBlockSection columns="1">
<apex:outputPanel >
<apex:outputText value="Duplicate Contacts:" />
<apex:pageBlockTable value="{!dupes}" var="dupe" id="dupeContactsTable" rowClasses="odd,even" styleClass="tableClass">
<apex:column >
<apex:facet name="header">First Name
</apex:facet>
<a href="{!'/' + HTMLENCODE(dupe.Id)}" target="_blank">{!HTMLENCODE(dupe.FirstName)}
</a>
</apex:column>
<apex:column >
<apex:facet name="header">Last Name
</apex:facet>
<a href="{!'/' + HTMLENCODE(dupe.Id)}" target="_blank">{!HTMLENCODE(dupe.LastName)}
</a>
</apex:column>
<apex:column >
<apex:facet name="header">Account
</apex:facet>
<a href="{!'/' + HTMLENCODE(dupe.AccountId)}" target="_blank">{!HTMLENCODE(dupe.Account.Name)}
</a>
</apex:column>
<apex:column >
<apex:facet name="header">Owner
</apex:facet> {!HTMLENCODE(dupe.Owner.Name)}
</apex:column>
</apex:pageBlockTable>
</apex:outputPanel>
</apex:pageBlockSection>
</apex:pageBlock></apex:page>