Forums

What code does WP use for baseurl? (3 posts)

  1. modifiedcontent
    Member
    Posted 3 years ago #

    I'm trying to integrate WordPress into my site. My site has something like this in a config.php:
    $baseurl = 'http://myawesomesite.com';

    WordPress probably has something similar. What is it?

    I need it for the template files in WordPress. I can't get $baseurl to work everywhere. It gets messy. I should probably just use WordPress native "baseurl" and ideally define it somewhere as "wpbaseurl = baseurl/blog".

  2. modifiedcontent
    Member
    Posted 3 years ago #

    Is it ABSPATH ?

    Where/how is that defined? If it's 'http://mysite.com/blog' is there any way to use it to get to an address outside /blog?

  3. seg
    Member
    Posted 3 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags