How do redirect on page load without losing cookies in WordPress

I am attempting to redirect users on page load if they are a logged in to a different page in the site without loosing their cookies in the process. Right now there is a button that takes them to a blank page that verifies if they are logged in. If they are logged in then the will reach the blank site where the redirect should take place. Currently I have

<meta http-equiv=”Refresh” content=”0; url=’URL'” />

but when that loads I loose the cookie data. Any suggestions?


This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer