Conflict with Yoast SEO Premium (warnings when performing a 301 redirect)
-
Hello! I ran into the following problem and I will be glad if you can help solve it.
On the site, I use Wordfence Security + Yoast SEO Premium plugins. When I create a 301 redirect (Admin Dasboard – SEO – Redirects) and go to the URL where it should work, I get the following warnings instead of the redirect:
Warning: Use of undefined constant SECURE_AUTH_COOKIE - assumed 'SECURE_AUTH_COOKIE' (this will throw an Error in a future version of PHP) in /home/user/www/mysite/public_html/wp-includes/pluggable.php on line 803 Warning: Use of undefined constant LOGGED_IN_COOKIE - assumed 'LOGGED_IN_COOKIE' (this will throw an Error in a future version of PHP) in /home/user/www/mysite/public_html/wp-includes/user.php on line 348 Warning: Cannot modify header information - headers already sent by (output started at /home/user/www/mysite/public_html/wp-includes/pluggable.php:803) in /home/user/www/mysite/public_html/wp-includes/pluggable.php on line 1296
However, when I disable Wordfence, the problem disappears. Could you help sort out the problem?
In addition, I would like to clarify the following:
1. I use multisite.
2. If I specify any other redirect code (302, 307, 410 etc.), then the problem is not reproduced.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Conflict with Yoast SEO Premium (warnings when performing a 301 redirect)’ is closed to new replies.