Insane21m Posted February 17, 2021 Posted February 17, 2021 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!
Daniel F Posted February 17, 2021 Posted February 17, 2021 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. Insane21m 1
Insane21m Posted February 17, 2021 Author Posted February 17, 2021 there's an .htaccess file, but I'm not sure it's 4.5 Is there a way to tell?
Nathan Explosion Posted February 17, 2021 Posted February 17, 2021 Search for friendly in the ACP, download the provided htaccess file, place it as advised. SJ77 1
Insane21m Posted February 26, 2021 Author Posted February 26, 2021 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?
CoffeeCake Posted February 26, 2021 Posted February 26, 2021 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 Insane21m and Meddysong 1 1
Insane21m Posted February 26, 2021 Author Posted February 26, 2021 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.. 🤔
CoffeeCake Posted February 26, 2021 Posted February 26, 2021 Is mod_rewrite (assuming apache) enabled on your web server, and is your web server configured to allow mod_rewrite rules via .htaccess? Insane21m 1
Solution Insane21m Posted February 26, 2021 Author Solution Posted February 26, 2021 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. SeNioR- 1
CoffeeCake Posted February 26, 2021 Posted February 26, 2021 15 minutes ago, Insane21m said: So this is installed on a Windows Server 2019 using IIS Insane21m 1
Tanoshii Posted April 11, 2021 Posted April 11, 2021 (edited) 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, 2021 by Tanoshii
Recommended Posts