IP.Board Support

Stuck at index page

Submitted by Djonix, , Thread ID: 117000

Thread Closed

RE: Stuck at index page

This post was last modified: 17-01-2019, 06:29 PM by Nao_
#3
15-01-2019, 12:15 PM
Djonix Wrote:
So my forum just stopped working. Any link I click, it brings me to the home page. I can't see subforums, threads, user profiles, etc. Only admin panel is working.

I found out that I can turn off Friendly URLsand everything would be fine. But I don't have friendly URLs now. What can I do to bring them back and have them working?

Are you want to remove "index.php?" on your forums?

1. Admin CP > System > Search Engine Optimization > click all like this
[Image: LfoHloSK_o.png]


Then add this on .htaccess

Code:
<IfModule mod_rewrite.c>
Options -MultiViews
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule \.(js|css|jpeg|jpg|gif|png|ico|map)(\?|$) /404error.php [L,NC]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>


If you using a path like yoursite.com/forum, just add this on .htaccess

Code:
<IfModule mod_rewrite.c>
Options -MultiViews
RewriteEngine On
RewriteBase /forum/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule \.(jpeg|jpg|gif|png)$ /forum/public/404.php [NC,L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>


Save, and see the magic happen (:

Users browsing this thread: 1 Guest(s)