Log in Sign up
Discussion WordPress

Getting 'Headers already sent' error in wp-config.php line 1.

Tom Security
Tom Security
0 reputation
2 weeks ago 193 views 3 replies
Hey folks, running into this issue and could use some guidance.

Question: Getting 'Headers already sent' error in wp-config.php line 1.

3 Replies

Sarah Designer
Sarah Designer · 2 weeks ago
Check for Byte Order Mark (BOM). Save the file as 'UTF-8 without BOM' in Notepad++ or VS Code.
Lisa Marketing
Lisa Marketing · 2 weeks ago
There is likely whitespace or a new line before the `<?php` tag.
Jenny Store
Jenny Store · 2 weeks ago
Ensure no `echo` or print statements run before `wp_head()`.

You must be logged in to reply.

Log In to Reply