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]
index returns 404
-
- User
- Posts: 68
index returns 404
-
- User
- Posts: 9356
If your site has a base path, you may need RewriteBase directive, read URL Rewrite.