Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress.
#in wp-config.php
define('COOKIE_DOMAIN', $_SERVER['HTTP_HOST'] );
#https://www.fiverr.com/tamerjarrar
3.5
10
you’ll need to open your website’s function.php file.
Then add the following code:
setcookie(TEST_COOKIE, 'WP Cookie check', 0, COOKIEPATH, COOKIE_DOMAIN);
if ( SITECOOKIEPATH != COOKIEPATH ) setcookie(TEST_COOKIE, 'WP Cookie check', 0, SITECOOKIEPATH, COOKIE_DOMAIN);
and then save/upload your functions.php file.
#https://www.fiverr.com/shadabdeveloper
Thank you!
10
0
Are there any code examples left?
New code examples in category PHP