[Plugin: W3 Total Cache] Redirecting logged in users
-
Hi guys!
I’ve had a redirect setup for customers who are logged in and view my home page, then they automatically jump to the “backend” only for customers page.
However, after installing W3 Total Cache it seems my redirect isn’t working anymore. What am I missing here?
Here’s the code that’s been unchanged since I implemented it months ago (and it stopped working for two weeks ago when I installed the plugin):
<?php if (is_user_logged_in() && is_front_page() ) { wp_redirect('http://maxadinforbranning.se/wake-up-mitt-program/'); exit; }And it’s in the header.php file.
Regards,
Seif
The topic ‘[Plugin: W3 Total Cache] Redirecting logged in users’ is closed to new replies.