pequeno Posted May 14, 2019 Posted May 14, 2019 Hello, I have my forum in www.mywebsite.com/forum and I want to move it to www.mywebsite.com Can someone help me in the steps to follow to move correctly my forum to the main site. Thanks.
Jim M Posted May 14, 2019 Posted May 14, 2019 Assuming you're on version 4 and self-hosted, the summary of the process is: Move the contents of your installation directory to the root of your domain on your server. (Any questions on this I would suggest reaching out to your hosting provider) Edit the URL in your conf_global.php file to reflect the file move in step 1. (depending on how old your community is this may be board_url or base_url) Go to ACP -> System -> Support -> Something isn't working correctly to clear your cache. Go to your Client Area ->Manage Purchases -> select your license -> scroll down to "Licensed URLs" -> click "Change URL." (this bit is the final piece to the puzzle to update your license URL on file) pequeno and supernal 2
pequeno Posted May 14, 2019 Author Posted May 14, 2019 Thank you @Jim M. Any help about redirections and configurations in htaccess?
Jim M Posted May 14, 2019 Posted May 14, 2019 This is not something that comes part of the software and would need to be done outside by yourself, hosting provider or a knowledgeable party that you work with. A warning I can provide is that your current URL includes "/forum" and this is also a reserved FURL in our software so need to be mindful of that as you're writing these redirects. supernal, pequeno and Joy Rex 2 1
pequeno Posted December 19, 2020 Author Posted December 19, 2020 On 5/14/2019 at 3:07 PM, Jim M said: This is not something that comes part of the software and would need to be done outside by yourself, hosting provider or a knowledgeable party that you work with. A warning I can provide is that your current URL includes "/forum" and this is also a reserved FURL in our software so need to be mindful of that as you're writing these redirects. Hello @Jim M. My actual url forum is www.website.com/foro ( "foro" is "forum" in spanish). I will move my forum to www.website.com and I thank you if you tell me how the redirects would be in .htaccess I will also update the friendly urls in ACP so that the word "forum" is converted in "foro" and "topic" in "tema"
Jock3r Posted December 19, 2020 Posted December 19, 2020 35 minutes ago, pequeno said: Hello @Jim M. My actual url forum is www.website.com/foro ( "foro" is "forum" in spanish). I will move my forum to www.website.com and I thank you if you tell me how the redirects would be in .htaccess I will also update the friendly urls in ACP so that the word "forum" is converted in "foro" and "topic" in "tema" I assume that you have done all of steps that Jim has suggested above. The process is the same, however if you have the knowledge for it, you would need to edit the nginx/apache configs and .htaccess accordingly. First off, Make sure to change any RewriteConditions on .htaccess from /foro/ to just /. There may be some of them on the main .htaccess file you can find on the Invision Community Marketplace. Regarding your apache/nginx configurations, I would suggest getting someone that knows how the software works and working with them as it can vary depending on your configuration. pequeno 1
pequeno Posted December 24, 2020 Author Posted December 24, 2020 On 5/14/2019 at 2:24 PM, Jim M said: Go to your Client Area ->Manage Purchases -> select your license -> scroll down to "Licensed URLs" -> click "Change URL." (this bit is the final piece to the puzzle to update your license URL on file) Doesn´t work. Error: "There seems to still be an installation of Invision Community at the URL on file. Before you can change the URL, you must first remove the existing installation." I'm waiting for support to update my license anfd then update the forum to 4.5 version. Everything else works fine.
pequeno Posted December 26, 2020 Author Posted December 26, 2020 On 12/24/2020 at 10:55 AM, pequeno said: Doesn´t work. Error: "There seems to still be an installation of Invision Community at the URL on file. Before you can change the URL, you must first remove the existing installation." I'm waiting for support to update my license anfd then update the forum to 4.5 version. Everything else works fine. Solved by support. The "Change URL" should be done without any active redirection from the old domain to the new one.
claustrier Posted December 29, 2020 Posted December 29, 2020 Hello, I have move forum to sub directory and follow all steps. Right now I can see the forum but not able to open any topics. It gives 404 Not found error. Any help would be helpful. Thank you
pequeno Posted December 29, 2020 Author Posted December 29, 2020 On 5/14/2019 at 2:24 PM, Jim M said: Assuming you're on version 4 and self-hosted, the summary of the process is: Move the contents of your installation directory to the root of your domain on your server. (Any questions on this I would suggest reaching out to your hosting provider) Edit the URL in your conf_global.php file to reflect the file move in step 1. (depending on how old your community is this may be board_url or base_url) Go to ACP -> System -> Support -> Something isn't working correctly to clear your cache. Go to your Client Area ->Manage Purchases -> select your license -> scroll down to "Licensed URLs" -> click "Change URL." (this bit is the final piece to the puzzle to update your license URL on file) did you do all these steps? @claustrier
claustrier Posted December 29, 2020 Posted December 29, 2020 Yes, 4th one is only remaining and submitted ticket to support for it.
Jim M Posted December 29, 2020 Posted December 29, 2020 11 minutes ago, claustrier said: Hello, I have move forum to sub directory and follow all steps. Right now I can see the forum but not able to open any topics. It gives 404 Not found error. Any help would be helpful. Thank you Check your .htaccess as it still is likely referencing your old folder name and would need to be adjusted. You can download a new one in ACP -> System -> Search Engine Optimization -> Rewrite URLs. If that is not it, one of our techs can assist further in your ticket.
claustrier Posted December 29, 2020 Posted December 29, 2020 (edited) 11 minutes ago, Jim M said: Check your .htaccess as it still is likely referencing your old folder name and would need to be adjusted. You can download a new one in ACP -> System -> Search Engine Optimization -> Rewrite URLs. If that is not it, one of our techs can assist further in your ticket. Yes, I forgot to update .htaccess. It works now. Could you please help me to redirect URL like https://www.example.com/topic/1234 to https://www.example.com/forum/topic/1234 Old URLs are not working right now. Edited December 29, 2020 by claustrier
Jock3r Posted January 5, 2021 Posted January 5, 2021 This can be done with a Page Rule if you by any chance use CloudFlare for your DNS/CDN. pequeno 1
Recommended Posts