Remove Setcookie for Header
-
Hi, I was fooling around with the header.php file and placed this code in:
<?php setcookie('nomobile', 'true'); header('Location: http://yourwebsite.com'); ?>Now the index page continues to redirect to the mobile site even on desktops. I removed the code and it isn’t going back to how it was originally even after clearing cookies/ cache.
Does this php change other files? How can I remove this and prevent it from happening?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
The topic ‘Remove Setcookie for Header’ is closed to new replies.