How to reproduce:

  1. Install and enable Pathauto;
  2. Create a node with title "Administrative requirements", set "Generate automatic URL alias";
  3. Try to access your node by aliased path anonymously (/administrative-requirements by default).

I found that Drupal is bootstrapped with empty ?q=. Everything works fine when node is accessed by /node/[nid] path, or after manually changing the first part of node's alias.

Please help me to find out which part of Nginx configuration could be responsible.

Comments

omega8cc’s picture

Category: bug » support
Priority: Major » Normal
Status: Active » Closed (works as designed)

The /admin* URI/path is *reserved* by design for site admin access and you should never use it for anything else.

tema’s picture

But why /admin*, not /admin/* ? Can we consider this as a prohibition of non-prefixed aliases?

How does it work? All I found is only anti-bot 403 rules, but not redirect.

omega8cc’s picture

Because /admin also belongs to admin area and we will not add extra complicated wildcard locations just to allow bad practices like /adminfoo while protecting /admin and /admin/*. See also many duplicates and the docs: #2093163: Anonymous redirected to front page when reaching /admin

tema’s picture

Thank you. My fault, I had to use the search better.