Subdomains being redirected to “dev.domain.com_excluding_www”
- This topic is empty.
- You must be logged in to reply to this topic.
April 2024 only! Join our Discord free of charge.
Out 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?
oh no must be from wp-config
Yes we just committed a patch:
https://github.com/littlebizzy/slickstack/commit/9558434be2b29d12e80bab15f445b793adb714c4
The order of the sed
commands 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!
Btw in fact these sed
rules were incorrect for prior months too. Because it was including the www
in the staging/dev site domains.
But I think Nginx was overriding that so the error was unnoticed.
so actually 2-3 bugs now fixed in staging/dev sites wp-config 😀
cool… do we need to update this manually?
do we need to update this manually?
Nope! The patch was force-updated via GitHub using the ss-worker
bash script. All SlickStack servers should be patched now.
hey folks, thanks a lot for the support! worked like a charm. was pretty preocupied yesterday lol nice that its fixed.
♥️👍🏻
Friends, the time has come for us to ask for your financial support. After 5+ years of (growing) expenses, and taking time away from consulting and services, we must start generating donations in order to continue this level of rapid project development. Please consider donating, so that we can keep SlickStack free and open source. Thank you! 🙏 😍
We champion core values like free speech, transparency, and portability, and welcome anyone else who does too.
Here is a non-exhaustive list of plugins, themes, and other services that we recommend checking out.
Every stack script and server deployment platform is a bit different, so check to see how SlickStack compares.
Subscribe to our free newsletter to receive occassional updates, we respect your privacy and do not sell your information.
Here’s some of the incredible performance features you can expect after launching your SlickStack cloud VPS.
If you are wondering what specific problems SlickStack can help solve, browse some of the solutions below.
In lieu of donations, please show your support by mentioning SlickStack on your blog or write a review. Thank you!