tires Posted November 16, 2021 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?
tires Posted November 16, 2021 Author Posted November 16, 2021 O wait, is this the first adress under "$config->httpHosts" in the site/config.php? Could this be?
virtualgadjo Posted November 16, 2021 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
heldercervantes Posted November 17, 2021 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
tires Posted November 17, 2021 Author Posted November 17, 2021 Thank you! Didn't know that. I thought that were just the allowed hosts.
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