WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Hello I used qtranslate in my site. Four language selections.

English Russian Turkish Arabic

But not work arabic. executed this url; site.com/ar does not work. Shows an error. Error code ;

Warning: Cannot modify header information - headers already sent by (output started at /home/useruser/public_html/www.site.com/blog/wp-content/themes/tema/index.php:1) in /home/useruser/public_html/www.site.com/blog/wp-content/themes/tema/header.php on line 1

share|improve this question

Not the first line but the last line could be it.

Please check if you have a space after the last ?> sign of your header.php file. Its better suggested that you just remove the last ?> sign as well. So there wont be any headers already sent error generated.

And this sort of error usually occurs when you include a file before a header() or cookie() or session function call.

share|improve this answer

...I can't see your site but anyway this problem occurs when you have BLANK spaces in the code. Make sure there is no space at the very top (line 1) of the php file.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.