When I try to open control panel with forwarding slash, then it shows me broken login page theme, but when I try to open it without using slash then it loads properly. I guess somewhere it is not fetching css path , but i am not able to find it.

https://www.abc.com/control -- working https://www.abc.com/control/ -- not working

  • 2
    Surely has something to do with your .htaccess. Inspect it yourself or ask the community by posting it here. – Yuri Salimovskiy Dec 3 '14 at 15:02
  • Yuri is correct, it's definitely something with your .htaccess . I would guess it's infinitely redirecting. – thatgibbyguy Dec 3 '14 at 17:03

Updated correct redirection rules in htaccess and it works for me

# Enable Rewrite Engine
# ------------------------------

RewriteEngine On
RewriteBase /

# Redirect index.php Requests
# ------------------------------
RewriteCond %{THE_REQUEST} ^[^/]*/index\.php [NC]
RewriteCond %{THE_REQUEST} ^GET
RewriteRule ^index\.php(.+) $1 [R=301,L]

# Standard ExpressionEngine Rewrite
# ------------------------------
RewriteCond $1 !\.(css|js|gif|jpe?g|png) [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php/$1 [L]

| improve this answer | |
  • Include htaccess change to help others? – Romans-8---31-39 Nov 19 '19 at 16:07
  • default expression engine htaccess works – Mayank Kapahi Nov 20 '19 at 9:16
  • Mayank, glad you solved it. I'm sure it will help other users if you edit your answer to include the code and a link to the docs. – Alex Kendrick Nov 21 '19 at 19:47
  • Please find attach link for default expression engine .htaccess file gist.github.com/smaida/1225862 – Mayank Kapahi Nov 22 '19 at 4:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.