Roots Discourse

get_template_directory_uri() multisite returns main site url.

Description

Using multisite installation with subdomains. Most of the functions returning URL return it with a URL to main site.
E.g. enqueue_scripts(), get_template_directory_uri() and others all return URL with the example.com instead of sub.example.com

Steps to reproduce

  1. migrate an existing multisite wordpress to bedrock

Expected behavior:
Proper subdomain urls to resources

Actual behavior:
urls point to main domain of the network

Reproduces how often:

100%

Versions

MacOS 10.13.6,

0.6.4.1 - 4-14-20

This topic was automatically closed after 42 days. New replies are no longer allowed.