ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Incorrect site_url variable

June 28, 2011 1:42pm

Subscribe [2]
  • #1 / Jun 28, 2011 1:42pm

    djensen

    10 posts

    I have EE v2.1.3 (Build 20110411) installed, with MSM. In Admin->General Configuration, the site URL is set correctly to http://www.domain.com/ but in one of the MSM sites, when I output {site_url} on a template, I see http://domain.clienturl.com

    I have verified the config.php file via ftp contains the correct URL and the main site + 1 other MSM site have the correct site_url value when displayed on a template. Where else can I verify or change this value?

  • #2 / Jun 28, 2011 1:58pm

    djensen

    10 posts

    Finally found the culprit. In case anyone else runs into this problem, inside the directory for the MSM site, in the index.php file, there is:

    $assign_to_config[‘site_url’] = ‘http://www.domain.clientURL.com/site1’;

    which needed to be updated to http://www.domain.com/site1.

  • #3 / Jun 29, 2011 6:50am

    John Henry Donovan

    12339 posts

    Thanks for the update dfravel. Feel free to start anew thread if you have any more questions

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases