tires Posted November 16, 2021 Share Posted November 16, 2021 Hello! I just moved a website from the development to the live server. Now there is a strange behavior. If i output the page->httpUrl as well as i click on "view" in the page tree the development server url is shown. I have no idea where this comes from. Do you have? Link to comment Share on other sites More sharing options...
tires Posted November 16, 2021 Author Share Posted November 16, 2021 O wait, is this the first adress under "$config->httpHosts" in the site/config.php? Could this be? Link to comment Share on other sites More sharing options...
virtualgadjo Posted November 16, 2021 Share Posted November 16, 2021 Hi, yes, it could be ? i've had the same problem once forgetting to change this param when migrating my website from local to online have a nice day 1 Link to comment Share on other sites More sharing options...
heldercervantes Posted November 17, 2021 Share Posted November 17, 2021 You can get a bunch of problems by not having the correct URL in $config->httpHosts. Basically anything that generates an absolute URL will fall back to the first one on that list. 1 Link to comment Share on other sites More sharing options...
tires Posted November 17, 2021 Author Share Posted November 17, 2021 Thank you! Didn't know that. I thought that were just the allowed hosts. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now