I'm trying to avoid https://na32.visual.force.com/apex/vfpage that is being added to the website that is already stored in field carrier_website__c. carrier_website__c has values like the following:
www.google.com
This is how I tried:
<apex:outputLink value="/{!q.Shipment_Number__r.carrier_website__c}" target="">
<apex:outputText value="{!q.Shipment_Number__r.carrier_website__c}"/>
</apex:outputLink>
I have tried with double quotes, double forward slash. I have also tried to use javascript window.location, but I face the same problem as discussed above. Any suggestions? Thanks.
EDIT: But if I remove the "/" in outputLink value, then the salesforce instance gets added like this.... abc.my.salesforce.com/www.carrierwebsite.com –