- This topic is empty.
-
AuthorPosts
-
April 10, 2023 at 11:30 pm #4898
Amanda
GuestOut of the blue our dev and stg subdomains started to get redirected to “dev.domain.com_excluding_www”.
I’ve tried purging all cache, nginx cache, checked the nginx site files (and they seem fine).
Really no ideia whats happening, didn’t want to ss-install again so website isnt down…
Any ideas?
April 11, 2023 at 6:04 am #4900Larry
Guestoh no must be from wp-config
April 11, 2023 at 6:42 am #4901Kyle
GuestYes we just committed a patch:
https://github.com/littlebizzy/slickstack/commit/9558434be2b29d12e80bab15f445b793adb714c4
The order of the
sedcommands has been rearranged to prevent conflicts.ss_sed "s/@SITE_DOMAIN_EXCLUDING_WWW/${SITE_DOMAIN_EXCLUDING_WWW}/g" "${TMP_WP_CONFIG_PHP}" ## must be first ss_sed "s/@SITE_DOMAIN/${SITE_DOMAIN}/g" "${TMP_WP_CONFIG_PHP}" ss_sed "s/@SITE_TLD/${SITE_TLD}/g" "${TMP_WP_CONFIG_PHP}"Please try now!
April 11, 2023 at 6:44 am #4902Patrick
GuestBtw in fact these
sedrules were incorrect for prior months too. Because it was including thewwwin the staging/dev site domains.But I think Nginx was overriding that so the error was unnoticed.
April 11, 2023 at 6:45 am #4903Diane
Guestso actually 2-3 bugs now fixed in staging/dev sites wp-config 😀
April 11, 2023 at 7:24 am #4910Daniel
Guestcool… do we need to update this manually?
April 11, 2023 at 7:25 am #4911Betty
Guestdo we need to update this manually?
Nope! The patch was force-updated via GitHub using the
ss-workerbash script. All SlickStack servers should be patched now.April 11, 2023 at 1:52 pm #4939Olivia
Guesthey folks, thanks a lot for the support! worked like a charm. was pretty preocupied yesterday lol nice that its fixed.
April 16, 2023 at 8:32 am #5016Jerry
Guest♥️👍🏻
-
AuthorPosts