get_template_directory_uri() multisite returns main site url.


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 instead of

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:



MacOS 10.13.6, - 4-14-20

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