WordPress.org

Ready to get started?Download WordPress

Forums

Hardcode vs php bloginfo( 'URL' ) (2 posts)

  1. bmorris110
    Member
    Posted 2 years ago #

    For better load time and SEO,
    Should I use
    http://www.domain.com/
    or
    php bloginfo( 'URL' ) ?
    The theme will only be used for my domain, so flexibility doesn't matter.

  2. trenccan
    Member
    Posted 2 years ago #

    I prefer the first way. Less database requirements equals better load time and better load time equals better seo ;)

Topic Closed

This topic has been closed to new replies.

About this Topic