Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted February 17, 20214 yr Hi all, just updated an old defunct website to the latest version of IP.Board. All the pages return 404 errors, except for the "homepage" If I set the default app to "Pages" the Home page shows up fine. If I set the default to forums, the forums shows up fine. However, if I try to navigate to www.page.come/forums it returns a 404 error. The admin page shows up just fine. I'm sure there's a misconfiguration somewhere involving links, but not sure what I need to adjust. Any direction would be greatly appreciated, thank you!
February 17, 20214 yr Sounds like an issue with URL rewrites. Review your SEO settings in the ACP and make sure that the 4.5 htaccess file is present in the communities root directory.
February 17, 20214 yr Author there's an .htaccess file, but I'm not sure it's 4.5 Is there a way to tell?
February 17, 20214 yr Search for friendly in the ACP, download the provided htaccess file, place it as advised.
February 26, 20214 yr Author Alright so I'm likely F'd.. I'm currently locked out of the admin panel. Are there any options? My first admin account won't accept the answer to my security question - even though I'm 100% sure it's the right answer. I try to send an e-mail to send a password reset - takes me to a 404 page.. My second admin account, the MFA code doesn't work, I try to send an e-mail to send a password reset - takes me to a 404 page.. How screwed am I?
February 26, 20214 yr 4 minutes ago, Insane21m said: My second admin account, the MFA code doesn't work, I try to send an e-mail to send a password reset - takes me to a 404 page.. See DISABLE_MFA
February 26, 20214 yr Author Thank you! I'd hug you, but a trophy will do 😅 On that note, replacing the .htaccess file doesn't seem to be resolving the 404 issue.. 🤔
February 26, 20214 yr Is mod_rewrite (assuming apache) enabled on your web server, and is your web server configured to allow mod_rewrite rules via .htaccess?
February 26, 20214 yr Author Solution Aaawww! So this is installed on a Windows Server 2019 using IIS, URL Rewrite 2.1, and MySQL database. I just imported the new .htaaccess file rules into IIS URL Rewrite and it's all working like magic.
February 26, 20214 yr 15 minutes ago, Insane21m said: So this is installed on a Windows Server 2019 using IIS
April 11, 20214 yr On 2/26/2021 at 5:36 PM, Insane21m said: Aaawww! So this is installed on a Windows Server 2019 using IIS, URL Rewrite 2.1, and MySQL database. I just imported the new .htaaccess file rules into IIS URL Rewrite and it's all working like magic. Are you rewriting urls also? if so what did you do to fix the errors? i imported the .htaccess into iis but still getting 404 pages. if i disable rewrite it works fine tho I ended up fixing it by using a old .htacess and importing it since for some reason the new one that was downloadable from the AP was wrong Edited April 11, 20214 yr by Tanoshii