0

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
  • 2
    Surely has something to do with your .htaccess. Inspect it yourself or ask the community by posting it here. Commented Dec 3, 2014 at 15:02
  • Yuri is correct, it's definitely something with your .htaccess . I would guess it's infinitely redirecting. Commented Dec 3, 2014 at 17:03

1 Answer 1

0

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]

4
  • Include htaccess change to help others? Commented Nov 19, 2019 at 16:07
  • default expression engine htaccess works Commented Nov 20, 2019 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. Commented Nov 21, 2019 at 19:47
  • Please find attach link for default expression engine .htaccess file gist.github.com/smaida/1225862 Commented Nov 22, 2019 at 4:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.