Soil nice search working - Soil relative URL's not

Using the Soil plugin with the Roots theme. I activated the Soil plugin and the nice search is working but the relative url’s are not. Anyone know what I should check? I’m using WAMP on Windows and the relative URL’s worked on the last Roots themed site I did, which was before things were moved to the Soil plugin.

So far I’ve just tried toggling between permalinks, but that didn’t help.

You will need to check that your server variables are set correctly.

$_SERVER('SERVER_NAME') is used to do a domain check. So that needs to match the WordPress site url.

Does mean you can’t use the relative urls feature if you have moved the wordpress core files into a separate directory?

I’m setup like this:

// set site urls
define('WP_HOME','http://'.$_SERVER['SERVER_NAME']);
define('WP_SITEURL','http://'.$_SERVER['SERVER_NAME'].'/wp');

//Change default wp-content file name & location
define ('WP_CONTENT_DIR', $_SERVER['DOCUMENT_ROOT'].'/app');
define ('WP_CONTENT_URL', "http://".$_SERVER['SERVER_NAME'].'/app');