Title: Broken link
Last modified: August 19, 2016

---

# Broken link

 *  [hollymight](https://wordpress.org/support/users/hollymight/)
 * (@hollymight)
 * [16 years ago](https://wordpress.org/support/topic/broken-link-7/)
 * I am helping a friend with his website. [http://www.roastedstone.com](http://www.roastedstone.com)
   At the top of the page is a link to an order form that does not work. I had the
   same problem with the Blog link, but was able to fix it by updating the code 
   to point to the correct url (not sure why it changed). I was able to find the
   correct url for the blog page because it was listed for me in WordPress under“
   Posts.” I am having no such luck with the “Order Form” page. The website was 
   written using php which I do not know. I do know other languages so I can gleen
   a few things, but I am not understanding how php derives URLs. I know where to
   enter the new url for the Order Form page, I need to know what the new url is.
   I have found the orderform.php file in the file structure but linking directly
   to it causes an error:
 * ‘Fatal error: Call to undefined function get_header() in /hermes/bosweb/web228/
   b2287/whl.roastedstone/www/wp-content/themes/roasted-stone/orderform.php on line
   1’
 * Thank you in advance for your help.

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

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years ago](https://wordpress.org/support/topic/broken-link-7/#post-1628933)
 * Try reviewing [Theme_Development](http://codex.wordpress.org/Theme_Development)
   to get an overview of how the WordPress themes & templates work.
 *  Thread Starter [hollymight](https://wordpress.org/support/users/hollymight/)
 * (@hollymight)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/broken-link-7/#post-1629189)
 * I found this plugin that made the PHP on my page work:
 * Exec-PHP
 * [http://bluesome.net/post/2005/08/18/50/#execute_php](http://bluesome.net/post/2005/08/18/50/#execute_php)
 * I still can’t get the Java Script portions of my page to work.

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

The topic ‘Broken link’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [hollymight](https://wordpress.org/support/users/hollymight/)
 * Last activity: [15 years, 11 months ago](https://wordpress.org/support/topic/broken-link-7/#post-1629189)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
