I have created a simple page with standard controller as Lead and when i previewed it's URL changed from
https://XXX.sandbox.vf.force.com/apex/FirstPage?core.apexpages.request.devconsole=1
to
Here is my VisualForce Page Code:
<apex:page standardController="Lead" sidebar="false">
<apex:sectionHeader title="signup form" />
<apex:form >
<apex:pageBlock title="Create a New formr">
<apex:pageBlockButtons >
<apex:commandButton action="{!save}" value="Save"/>
</apex:pageBlockButtons>
<apex:pageBlockSection title="Volunteer Information" columns="1">
<apex:inputField id="Name" value="{!Lead.Name}" required="true"/>
<apex:inputField id="Status" value="{!Lead.Status}"/>
<apex:inputField id="Company" value="{!Lead.Company}" required="true"/>
<apex:inputField id="Phone" value="{!Lead.Phone}" required="true"/>
<apex:inputField id="Email" value="{!Lead.Email}" required="true"/>
</apex:pageBlockSection>
</apex:pageBlock>
</apex:form>
</apex:page>
In last can anyone please let me know how can i make it public as anybody can access it and login will not be required anymore?