Jump to content

htaccess prevents Admin from signing in as user


Recommended Posts


I was using this feature "Rewritte URL's" so that URLS do not include index.php following instructions from IPS help and adding the .htaccess file they include:

<IfModule mod_rewrite.c>
Options -MultiViews
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule \.(js|css|jpeg|jpg|gif|png|ico|map)(\?|$) /404error.php [L,NC]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]


The problem  ... when using this option, I can't sign in from the ACP as another user. I normally do this a lot to help users to set up their accounts without asking their passwords. 

I wonder if there is a way to fix this.

Link to comment
Share on other sites

I have that code (on localhost) but it does work properly (URL's are correct on the front end) and in that from the ACP I can sign in as any other member account, does not appear to afflict anything else.

Do you have any other potentially related issues that you are aware of with this ? For example are the actual URL's correct (when viewing the front end, say a topic or a forum listing)

What version are you using ? If its not 4.3.4 that is.

Link to comment
Share on other sites

6 hours ago, gabs007 said:

Ok, I upgraded to 4.3.4 one website and the problem persists.

I will write a support ticket

Best option. :smile:

Does not appear/sound like a "difficult to fix" concern although the support tech will be able to assist you or point you in the right direction at least.


The only other thought I have for now is to check on the default theme if you're using a custom one (both front end and admin) as well as temporarily disable any third party plugins too, although it would be a bit of bad luck to have one of said plugins cause this, I cannot immediately think of a reason without seeing it "in action" as such.

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...