Body: <p>Typing &quot;/admin&quot; on local or remote server yields a server generated 403 forbidden error. Fortunately I can still login to the Craft 4 admin if I type &quot;/admin/login&quot;.</p>
  <p>What I've checked/tested:</p>
  <ul>
  <li>cpTrigger: config/general.php shows 'cpTrigger' =&gt; App::env('CP_TRIGGER') ?: 'admin',</li>
  <li>cleared cookies</li>
  <li>disabled non-essential plugins</li>
  </ul>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-09-22T18:27:39.417Z
Comments.Text: Have you checked the user permissions for the user you're trying to login as? It's possible something is unchecked in the list that shouldn't be.
Comments.UserDisplayName: cherrykoda
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-09-22T21:56:44.677Z
Comments.Text: Thanks @cherrykoda - This is a Solo version so there's no user permission settings - just admin.
Comments.UserDisplayName: Jason McKinney
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-09-27T04:17:41.563Z
Comments.Text: Thanks for replying! Next step - if you set that general.config setting to 'cpTrigger' => 'admin' does it behave the same way? This will narrow down if its an env problem or a system one.
Comments.UserDisplayName: cherrykoda
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-09-28T15:50:57.617Z
Comments.Text: Yes @cherrykoda , when I simplify the config file setting using your suggestion above, the behavior is the same.
Comments.UserDisplayName: Jason McKinney
Tags: <admin>
Title: Admin 403 error: cpTrigger no longer working properly
ThreadText: # Admin 403 error: cpTrigger no longer working properly
  
  (Asked by: username_0 on 2023-09-14)
  
  Typing "/admin" on local or remote server yields a server generated 403 forbidden error. Fortunately I can still login to the Craft 4 admin if I type "/admin/login".
  
  What I've checked/tested:
  
  * cpTrigger: config/general.php shows 'cpTrigger' => App::env('CP\_TRIGGER') ?: 'admin',
  * cleared cookies
  * disabled non-essential plugins
  
  **Tags:** admin
  
  > **Comments:**
  > **username_1**: Have you checked the user permissions for the user you're trying to login as? It's possible something is unchecked in the list that shouldn't be.  
  > **username_0**: Thanks @username_1 - This is a Solo version so there's no user permission settings - just admin.  
  > **username_1**: Thanks for replying! Next step - if you set that general.config setting to 'cpTrigger' => 'admin' does it behave the same way? This will narrow down if its an env problem or a system one.  
  > **username_0**: Yes @username_1 , when I simplify the config file setting using your suggestion above, the behavior is the same.  
  
  ---
  
  ## 0 answers
  
  