Any particular tips i should know after changing the app url, updating the htaccess, and clearing cache?
I wish to use a cdn and it requires that i use www.mywebsite
- Best Answerset by Drparadox96
Drparadox96 can you explain what you had to change in more details? Do you mean you were previously using the "apex"/"no-www" version of the domain name, and switched to the "www" subdomain?
If you changed the domain name that's correct, you need to update config.php
and clear the cache. If you used htaccess to redirect one domain to the other, this also requires changing. The default Flarum htaccess probably doesn't require any change as it doesn't do anything related to the domain or hostname.
Some extensions like FoF Upload might have hard-coded URLs in the posts and its own database table. You might want to perform a search and replace (make a backup first!) so those URLs don't need to be all redirected when a post is loaded. Same for any internal link that users might have shared in posts.