Title: PHP Code for Absolute URL
Last modified: August 19, 2016

---

# PHP Code for Absolute URL

 *  Resolved [foochuck](https://wordpress.org/support/users/foochuck/)
 * (@foochuck)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/php-code-for-absolute-url/)
 * Inside of my main index, I want to use a php code to wrap my logo image in an
   a tag that links to the homepage of my blog. Is there a php code for the main
   URL of my blog?

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

 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/php-code-for-absolute-url/#post-1581727)
 * see bloginfo
 * [http://codex.wordpress.org/Function_Reference/bloginfo](http://codex.wordpress.org/Function_Reference/bloginfo)
 *  Thread Starter [foochuck](https://wordpress.org/support/users/foochuck/)
 * (@foochuck)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/php-code-for-absolute-url/#post-1581781)
 * [@alchymyth](https://wordpress.org/support/users/alchymyth/) Awesome, that does
   the trick. Thanks

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

The topic ‘PHP Code for Absolute URL’ is closed to new replies.

## Tags

 * [blog url](https://wordpress.org/support/topic-tag/blog-url/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [foochuck](https://wordpress.org/support/users/foochuck/)
 * Last activity: [15 years, 10 months ago](https://wordpress.org/support/topic/php-code-for-absolute-url/#post-1581781)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
