Title: icswp1's Replies | WordPress.org

---

# icswp1

  [  ](https://wordpress.org/support/users/icswp1/)

 *   [Profile](https://wordpress.org/support/users/icswp1/)
 *   [Topics Started](https://wordpress.org/support/users/icswp1/topics/)
 *   [Replies Created](https://wordpress.org/support/users/icswp1/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/icswp1/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/icswp1/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/icswp1/engagements/)
 *   [Favorites](https://wordpress.org/support/users/icswp1/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Php code not executing in one page but executing in others](https://wordpress.org/support/topic/php-code-not-executing-in-one-page-but-executing-in-others/)
 *  Thread Starter [icswp1](https://wordpress.org/support/users/icswp1/)
 * (@icswp1)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/php-code-not-executing-in-one-page-but-executing-in-others/#post-6135062)
 * Using /contact/ works. However, the reason it is coded this way is to minimise
   future changes easy. Say, you want to change the contact to some other location,
   all you have to change is point that id 28 in the database to the new location.
   No need to change code. If you hard code, then you have to change the code everywhere.
   BTW, the only page where the code is not executing is in the home page (Font 
   Page).
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Php code not executing in one page but executing in others](https://wordpress.org/support/topic/php-code-not-executing-in-one-page-but-executing-in-others/)
 *  Thread Starter [icswp1](https://wordpress.org/support/users/icswp1/)
 * (@icswp1)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/php-code-not-executing-in-one-page-but-executing-in-others/#post-6135056)
 * Yes the http:// is there. It gives not available error because the url generated
   by the code is like this
 * [http://%3C/?php%20echo%20get_permalink(%2728%27)](http://%3C/?php%20echo%20get_permalink(%2728%27));%
   20?%3E
 * In pages where it is working the executed code produces an url like [http://mydomain.com/contact/](http://mydomain.com/contact/)

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