Title: Linking question
Last modified: August 18, 2016

---

# Linking question

 *  [dwest](https://wordpress.org/support/users/dwest/)
 * (@dwest)
 * [19 years, 5 months ago](https://wordpress.org/support/topic/linking-question/)
 * Is there a way to place a link to a pdf file or page within the site without 
   including the “[http://domainname&#8221](http://domainname&#8221);?
    Like so:
   [http://uploads/test.pdf](http://uploads/test.pdf) Such that wordpress automatically
   fills in the “[http://domainname&#8221](http://domainname&#8221);.
 * The reason being, if somewhere down the road I change the domain name of the 
   site, I won’t have all those links to search for and fix.
 * Thanks!

Viewing 1 replies (of 1 total)

 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [19 years, 5 months ago](https://wordpress.org/support/topic/linking-question/#post-489783)
 * I think this is what you are after:
    [http://codex.wordpress.org/Template_Tags/bloginfo](http://codex.wordpress.org/Template_Tags/bloginfo)
 * E.g. `<?php bloginfo('url'); ?>/uploads/etc...`

Viewing 1 replies (of 1 total)

The topic ‘Linking question’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [moshu](https://wordpress.org/support/users/moshu/)
 * Last activity: [19 years, 5 months ago](https://wordpress.org/support/topic/linking-question/#post-489783)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
