WordPress.org

Support

Support » How-To and Troubleshooting » Can I NOT harcode domain name in IMG in Post?

Can I NOT harcode domain name in IMG in Post?

  • I do a lot of <img> statements in my blog posts. I’m hardcoding the domain name each time, like:

    img src=”http://www.googletutor.com/wp-content/images/something.gif”

    I hate to think about all the changes I’d have to make if I ever changed my domain name. Is there some sort of code I can put in the page that signifies the site URL so I don’t have to hard code it?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Can I NOT harcode domain name in IMG in Post?’ is closed to new replies.