Title: dynamic web address variable?
Last modified: August 19, 2016

---

# dynamic web address variable?

 *  Resolved [cultivate](https://wordpress.org/support/users/cultivate/)
 * (@cultivate)
 * [16 years ago](https://wordpress.org/support/topic/dynamic-web-address-variable/)
 * I’ve used wordpress before in the passed, last used it just over a year ago. 
   I’m now making another site using wordpress and I just have a quick question.
 * I’m creating my template and I find myself adding in the absolute url to link
   to images and pages.
 * – [http://localhost:8888/website/wp-content/themes/site/&#8230](http://localhost:8888/website/wp-content/themes/site/&#8230);
 * I’m just wondering if there’s a dynamic variable that contains this information.
   so my links look more like
 * – <?php variable ?>/wp-content/themes/site/…
 * so that when I launch my site i don’t have to go back and change all the absolute
   url
 * thanks.

Viewing 1 replies (of 1 total)

 *  Thread Starter [cultivate](https://wordpress.org/support/users/cultivate/)
 * (@cultivate)
 * [16 years ago](https://wordpress.org/support/topic/dynamic-web-address-variable/#post-1446972)
 * <?php bloginfo(‘siteurl’);?>

Viewing 1 replies (of 1 total)

The topic ‘dynamic web address variable?’ is closed to new replies.

## Tags

 * [variable](https://wordpress.org/support/topic-tag/variable/)
 * [Wordpress Address](https://wordpress.org/support/topic-tag/wordpress-address/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [cultivate](https://wordpress.org/support/users/cultivate/)
 * Last activity: [16 years ago](https://wordpress.org/support/topic/dynamic-web-address-variable/#post-1446972)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
