Lounge96.org, our new domain

Gargamel

Paypig
root access
We've switched away from 3d96-4c08.com because it bothered some people, and going forward lounge96.org is the canonical domain name for our site.

However, that leaves the issue of links from other sites directing people to 3d96-4c08.com. Now I could have taken then easy way out and simply redirected it at the DNS level, but that means any link, such as https://3d96-4c08.com/index.php?threads/of-general-1-0.14/post-2224 would redirect to the lounge96.org front page, which is not helpful. Additionally, there are some internally hotlinked images on Lounge 96 that would be broken had I done this. Instead, at the webserver level I am redirecting 3d96-4c08.com/* to lounge96.org/*, which means old links from other sites, like KF or OF, will continue to work.

The only side effect to this that I've seen so far, is that hotlinked attachments only load if you're logged in. I presume this is XenForo's anti-hotlinking kicking in, because it doesn't know that 3d96-4c08.com and lounge96.org are the same site. I'm not sure if this is fixable short of me manually finding and changing all internal hotlinks. This, BTW, is the most likely reason why Josh gets so butthurt when people hotlink attachments on KF, with their multiple domain changes and lost domains resulting in a lot of broken links.

EDIT: I'm noticing that the thumbnail viewer is also broken, forcing guests to login to view full size images. I'm looking into it.
 
Is it as simple as running a database query on the table where post data is, i.e.:
Code:
UPDATE table_with_post_data SET content = REPLACE(content, 'https://3d96-4c08.com', 'https://lounge96.org');

Or does XenForo use PHP serialized array data for that so if you don't unserialize, change whatever needs to be changed, and reserialize, it will ruin the data? I don't know much about XF specifically, and definitely not its database schema.
 
Is it as simple as running a database query on the table where post data is, i.e.:
Code:
UPDATE table_with_post_data SET content = REPLACE(content, 'https://3d96-4c08.com', 'https://lounge96.org');

Or does XenForo use PHP serialized array data for that so if you don't unserialize, change whatever needs to be changed, and reserialize, it will ruin the data? I don't know much about XF specifically, and definitely not its database schema.
So looking into this I've learned two things. XenForo stores the literal BBcode of the post in plaintext, in the database. The image I thought was hotlinked is apparently a proper attachment. XenForo was linking this image from 3d96-4c08.com but now it isn't. It must have been something I did.

The "guests can't view thumnailed images" issue persists.
 
This, BTW, is the most likely reason why Josh gets so butthurt when people hotlink attachments on KF, with their multiple domain changes and lost domains resulting in a lot of broken links.
Link rot speedrun any%. He just wants to be on the leaderboard.
 
Back
Top