Title: Dead Contact Link
Last modified: August 19, 2016

---

# Dead Contact Link

 *  Resolved [ssword0321](https://wordpress.org/support/users/ssword0321/)
 * (@ssword0321)
 * [15 years ago](https://wordpress.org/support/topic/dead-contact-link/)
 * I’m building a site using wordpress as my cms, and have everything working the
   way I want it to structurally. The only problem is that when you click on my 
   contact button I get the error “Fatal error: Call to undefined function get_header()
   in /home/content/41/7378741/html/scottsword/contact/index.php on line 1”
 * All my anchor tags are the same for my sprite menu they are all <!–a href=”<?
   php bloginfo(‘url’)?>/contact/–> the same for blog, portfolio, etc (minus the!–,
   I just threw that in so wp didn’t compress my code when I tried to show you).
   All the links work except for contact. Perhaps wordpress doesn’t recognize a 
   php call named contact? Perhaps I’m looking over something very stupid.
 * Here is a link to my site so you can see what I’m talking about [http://www.scottsword.com](http://www.scottsword.com)
 * Any help would be greatly appreciated.
 * -Scott

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

 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [15 years ago](https://wordpress.org/support/topic/dead-contact-link/#post-2073870)
 * > so wp didn’t compress my code when I tried to show you
 * please use the ‘code’ button of this editor.
 * [http://codex.wordpress.org/FAQ_Troubleshooting#How_do_I_solve_the_Headers_already_sent_warning_problem.3F](http://codex.wordpress.org/FAQ_Troubleshooting#How_do_I_solve_the_Headers_already_sent_warning_problem.3F)
 *  [Phil](https://wordpress.org/support/users/owendevelopment/)
 * (@owendevelopment)
 * [15 years ago](https://wordpress.org/support/topic/dead-contact-link/#post-2073895)
 * [http://wordpress.org/support/topic/fatal-error-call-to-undefined-function-get_header-on-new-installation?replies=4](http://wordpress.org/support/topic/fatal-error-call-to-undefined-function-get_header-on-new-installation?replies=4)
 *  Thread Starter [ssword0321](https://wordpress.org/support/users/ssword0321/)
 * (@ssword0321)
 * [15 years ago](https://wordpress.org/support/topic/dead-contact-link/#post-2074109)
 * Thank you, but neither one of those links helped because I have not made any 
   changes to my index.php files. I used the snippets that wammi or whatever suggested
   and have the same problem. All of the links in my navigation work perfectly minus
   that one contact link. If the index file was some how compromised then all of
   them would be giving me an error.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [15 years ago](https://wordpress.org/support/topic/dead-contact-link/#post-2074110)
 * Your contact page will be using page.php (assuming it is set to use the default
   Page template) – not index.php.
 *  Thread Starter [ssword0321](https://wordpress.org/support/users/ssword0321/)
 * (@ssword0321)
 * [15 years ago](https://wordpress.org/support/topic/dead-contact-link/#post-2074113)
 * All my pages are set up individually, page-about.php, page-portfolio.php, and
   page-contact.php All work except for the contact page.
 *  Thread Starter [ssword0321](https://wordpress.org/support/users/ssword0321/)
 * (@ssword0321)
 * [15 years ago](https://wordpress.org/support/topic/dead-contact-link/#post-2074140)
 * Never mind, I fixed it myself. I just change the permalink from …/contact/ to/
   contactme/ and it works fine.

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

The topic ‘Dead Contact Link’ is closed to new replies.

## Tags

 * [failure](https://wordpress.org/support/topic-tag/failure/)
 * [menu](https://wordpress.org/support/topic-tag/menu/)
 * [php](https://wordpress.org/support/topic-tag/php/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 4 participants
 * Last reply from: [ssword0321](https://wordpress.org/support/users/ssword0321/)
 * Last activity: [15 years ago](https://wordpress.org/support/topic/dead-contact-link/#post-2074140)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
