0

I have recently made the transition from my Customer Portal for client access to a full fledged Force.com website.

Although I have updated all links to the force website, I believe there could be some users that have simply bookmarked the portal URL. How can I force users to be redirected to the new force site when they load the customer portal (including even the homepage)

1

I have placed this piece of javascript at the bottom of my header document used in the Customer Portal template.

<script type="text/javscript">    
    window.location.replace("http://stackoverflow.com");
</script>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.