Lordest Posted December 28, 2022 Share Posted December 28, 2022 Hello. I took a full backup and restored the files. Homepage and Admin panel work fine, but the links in the forum show 404 not found. How can I fix? Link to comment Share on other sites More sharing options...
Randy Calvert Posted December 29, 2022 Share Posted December 29, 2022 (edited) You might need to check your .htaccess file which handles all of the SEO friendly URLs was restored properly. It’s not uncommon for restores to miss hidden files such as htaccess which could cause this this problem. Edited December 29, 2022 by Randy Calvert Link to comment Share on other sites More sharing options...
Lordest Posted December 29, 2022 Author Share Posted December 29, 2022 Hi. htaccess looks fine, it only has https redirection in it. Is there anything I should do as an example? @Randy Calvert Link to comment Share on other sites More sharing options...
Stuart Silvester Posted December 29, 2022 Share Posted December 29, 2022 1 hour ago, Lordest said: Hi. htaccess looks fine, it only has https redirection in it. Is there anything I should do as an example? @Randy Calvert It should also have rewrites in it to allow the friendly URLs to function. To get the right rules, go to AdminCP > System > Site Promotion > Search Engine Optimization. Click the download link in the description for the 'Rewrite URLs?' option. Jim M 1 Link to comment Share on other sites More sharing options...
Marc Stridgen Posted January 3 Share Posted January 3 Also its worth noting, if you are redirecting to https, you should also have your site set up as https in your sites configuration. Please see the following file if you havent done this already https://invisioncommunity.com/4guides/advanced-options/configuration-options/using-ssl-https-r273/ Link to comment Share on other sites More sharing options...
Lordest Posted January 5 Author Share Posted January 5 Since I am running it on Cloudflare, there is already HTTPS regulation. Thanks for the warning, it's working fine now. Link to comment Share on other sites More sharing options...
Marc Stridgen Posted January 6 Share Posted January 6 While I understand your web server may be forcing https, if you dont set the softwares configuration to use https also as mentioned above, it will break things Link to comment Share on other sites More sharing options...
Lordest Posted January 6 Author Share Posted January 6 12 hours ago, Marc Stridgen said: While I understand your web server may be forcing https, if you dont set the softwares configuration to use https also as mentioned above, it will break things My conf.global.php file is slightly different from the example you posted. <?php $INFO = array ( It starts as . There is a url somewhere. It starts as 'base_url' => https://. I guess it's not true? Link to comment Share on other sites More sharing options...
Jim M Posted January 6 Share Posted January 6 3 minutes ago, Lordest said: My conf.global.php file is slightly different from the example you posted. <?php $INFO = array ( It starts as . There is a url somewhere. It starts as 'base_url' => https://. I guess it's not true? You would want to find the corresponding URL of your community there and change it from http to https. That is the basic gist there. Depending on when your software was installed, you may have a slightly different conf_global.php setup. Link to comment Share on other sites More sharing options...
Recommended Posts