I have a site set up with multiple subdomains - sub1.example.com, sub2.example.com

For correct menu links I need $base_url set to http://example.com

However, Boost is using $base_url to determine the subdomain - so that sub1.example.com. etc are not being cached.

It seems that the desired behavior would be for Boost to determine subdomain from the actual request, or at least allow this as an option.

CommentFileSizeAuthor
#1 subdomain-base-url-1508994.patch2.41 KBheydemo

Comments

heydemo’s picture

StatusFileSize
new2.41 KB

Attached patch giving the option to have host determined by the http request and not the $base_url for the site

heydemo’s picture

Status: Active » Needs review
alexborsody’s picture

This worked for me thanks