Jump to content

Featured Replies

Posted

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!

Solved by Insane21m

Go to solution

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. 

  • Author

there's an .htaccess file, but I'm not sure it's 4.5
Is there a way to tell?

Search for friendly in the ACP, download the provided htaccess file, place it as advised.

  • 2 weeks later...
  • 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?

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

  • 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.. 🤔

Is mod_rewrite (assuming apache) enabled on your web server, and is your web server configured to allow mod_rewrite rules via .htaccess?

  • Author
  • Solution

Aaawww! despicable me idea GIF

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.
 

15 minutes ago, Insane21m said:

So this is installed on a Windows Server 2019 using IIS

god bless GIF

  • 1 month later...
On 2/26/2021 at 5:36 PM, Insane21m said:

Aaawww! despicable me idea GIF

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 by Tanoshii

Recently Browsing 0

  • No registered users viewing this page.