Page 1 of 1

index returns 404

Posted: Sun Jan 22, 2023 7:07 pm
by ichwillkin

After login it doesnt redirects to default page, it returns /index with 404 error, there is no problem on local, so i think it is a problem with htaccess, so here it is
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) HTTPS://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^ index.php [QSA,L]


Re: index returns 404

Posted: Mon Jan 23, 2023 9:07 am
by arbei

If your site has a base path, you may need RewriteBase directive, read URL Rewrite.