You need to sign in to do that
Don't have an account?
Amitkumar15
Redirect to Site Pages from VF page
I have one vf page in which there are two links. both link should open different site pages.
And these site pages should open from this link only and not directly.
Any help on this?
Hi,
Try this
Please replace those urls with your site urls.
If this post is helpful please throw Kudos.If this post solves your problem kindly mark it as solution.
Thanks
Could you clarify this statement?
"And these site pages should open from this link only and not directly."
Are you saying you want to prevent the Site page from displaying is anyone tries to access the URL directly rather than going through the Visualforce page you mention?
Yes exactly ryanjupton...
I want to prevent these site URL to access directly.
Any help on this requirement?
The above code doesn't work?
If this post is helpful please throw Kudos.If this post solves your problem kindly mark it as solution.
Thanks
No Souvik....that will not work.since i have to restrict site page to open directly from viewing..
Any help on this?