Possible bug? A host name does not propigated down to child nodes in a muti-site setup

I am on 17.7.0 and just noticed that on my muti-site setup that on my primary root node I have two hostnames setup site.com and www.site.com. If I look at the links section in the info tab the normal “/” link is genearated as well as both hostnames have links. If I go to any child node of this root node only the “/” based links and the “site.com” based links are shown, never the “www.site.com” based links. I can start throwing more random host names at the root level and all the child nodes will inherit them it is only the “www.sites.com” links that are not. I am not sure if this is a bug, some odd behavior that is by design, an issue with a package/customization, or something else. Per guide lines I am checking here before opening a bug report on github.

Hi @Eaglef90

Can you share some screenshots of your hostname setup?

Unless your examples are actually different sites, you usually don’t want www and non-www pointing to different sites anyway, one should redirect to the other (which ever way round you want to do it).

Justin

I do understand that it is best practice to ahve one or the other forward to the other.

Here are screen shots. This one is of my root node. Notice the default “/” and a link for both www and non-www.

Now here is a child node. Notice it does not get the auto generated link for the www domain.

Hi @Eaglef90

Are you logged in and viewing the backoffice via www.gameinfosites.dev? If so, the first one is just a relative URL for your current domain, so they are then both listed.

If this displays the page:

Then it is all working as expected.

Justin

Those screen shots where taken with the backoffice accessed via the www domain. As far as I can tell accessing pages is not broken. i can add any number of other hostnames and they all show up in the child nodes it is just the www site never shows up and that is what i think the bug is.

Hi @Eaglef90

I don’t think it’s a bug - it is by design. The hostname you are accessing through will show as relative URLs not full absolute URLs. It is all working as expected.

Justin

I had not thought about that so I just tested it by accessing the backoffice from the non www site and sure enough the www address showed on the childnode this time so looks like your right.