Unable To Parse URL, Header Already Sent Errors
-
I am getting request to “/?url=” pages like this:
https://mysite.com/?url=https://mysite.com/hello-world/
If I visit the URL in a browser it returns the below (200 ok). When I turn off Wordfence the page loads.
Warning: parse_url(/?url=https://mysite.com/hello-world/) [function.parse-url]: Unable to parse URL in /home/mysite/public_html/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/request.php on line 312
Warning: Cannot modify header information – headers already sent by (output started at /home/mysite/public_html/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/request.php:312) in /home/mysite/public_html/wp-includes/pluggable.php on line 1179
How can I turn WordFence back on and stop receiving the errors? And I guess more importantly does anyone know why I’d be seeing request to “/?url=” URLs in Google Analytics? Thanks.
- The topic ‘Unable To Parse URL, Header Already Sent Errors’ is closed to new replies.