By mike_san on
My D11 site shares the same server as my old D7 site.
The D11 site is is directory /public_html/d11 and the sub-domain https://dev.sandes.uk is set up for this directory
sometimes when I navigate to my site I end up at https://dev.sandes.uk/d11 and there is no CSS styling. When I try to login the browser goes to https://dev.sandes.uk/d11/user/login and there is no such page. I can login when I correct the URL and then the site works normally.
Is there a setting in the settings.php file that needs to be added or changed?
Any help would be appreciated
Comments
You can try trusted_host
You can try trusted_host_patterns but it sounds more like a problem with your server config. I'd temporarily move the whole D11 site to a new directory and just put a plain index.php in the d11 directory, then try to figure that out.
Available for paid support, module development, migrations, consulting...