skip to Main Content

i tried to login to my phpmyadmin (EC2 instance) i tried to visit

domain.com/phpmyadmin it didn’t load then I typed domain.com/phpmyadmin/index.php it loads. After logging in I am seeing total mess of my phpmyadmin

enter image description here

What could be the reason for it? Any help is highly appreciated. Thank you!

2

Answers


  1. Try with .htaccess:

    RewriteEngine On
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ /index.php?/$1 [L]
    

    htaccess remove index.php from url

    https://help.dreamhost.com/hc/en-us/articles/215747748-How-can-I-redirect-and-rewrite-my-URLs-with-an-htaccess-file-

    Login or Signup to reply.
  2. This problem is due to RewriteRule of .htaccess file.
    Please check .htaccess file and remove RewriteRule .*.(jpg|jpeg|gif|png|bmp)$ – [F,NC]

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search