Title: WordPress page shows the flat php code
Last modified: August 20, 2016

---

# WordPress page shows the flat php code

 *  [AndyKhatter](https://wordpress.org/support/users/andykhatter/)
 * (@andykhatter)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/wordpress-page-shows-the-flat-php-code/)
 * Hi
 * I am a newbie at wordpress. I have been trying to make my wordpress site work
   since yesterday. Everytime I hit the link I get the flat php code on the webpage
   for somereason its not being parsed. I have checked wp-config.,.htaccess file,
   tried removing the plugins ,deactivating the themes. but no luck.
 * Any ideas why would my php code not get parsed.? theres another wordpress folder
   inside the same location that works fine. I have tried deleting and uploading
   it over and again.
 * NOTE: I am trying to copy the wordpress site from another server. I have done
   this before but never had this kind of problem. I have created a new db and set
   the connections and everything.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [AndyKhatter](https://wordpress.org/support/users/andykhatter/)
 * (@andykhatter)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/wordpress-page-shows-the-flat-php-code/#post-3075859)
 * Okay …So i guess something was wrong with my .htaccess file …But its still not
   working
    this is the error i get Warning: Cannot modify header information – 
   headers already sent by (output started at /home/content/72/8741972/html/lalaalu/
   index.php:16) in /home/content/72/8741972/html/lalaalu/wp-includes/pluggable.
   php on line 881.
 * but i can only see this if i echo something in index.php file in the root.
 * Please help :-s
 *  [berchman](https://wordpress.org/support/users/berchman/)
 * (@berchman)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/wordpress-page-shows-the-flat-php-code/#post-3076275)
 * Andy did you ever find a solution to this error?
    I am seeing the same thing.
 * PHP not parsed, just displays in the browser window like I’m looking at source
   code.
 * Thanks.
 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [13 years, 3 months ago](https://wordpress.org/support/topic/wordpress-page-shows-the-flat-php-code/#post-3076276)
 * If you’re looking for support with your issue, Berchman, you can create a new
   thread.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘WordPress page shows the flat php code’ is closed to new replies.

## Tags

 * [code](https://wordpress.org/support/topic-tag/code/)
 * [Parsing](https://wordpress.org/support/topic-tag/parsing/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 3 participants
 * Last reply from: [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * Last activity: [13 years, 3 months ago](https://wordpress.org/support/topic/wordpress-page-shows-the-flat-php-code/#post-3076276)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
