I have a working Drupal 9 website.
I put an HTML file on a Drupal website’s directory:
When I try to access it from browser I get a Drupal not found 404 page telling me that this webpage doesn’t exist.
But, it does exist, I can access it from an SFTP client.
How could I make it accessible from browsers as-is (i.e. not as a Drupal webpage)?
A broader question is how to access an HTML webpage on top of a content management system?
What webserver are you running and could you show us its configuration please?
I host my website on shared hosting (Namecheap).
As far as I know they use Apache (Litespeed? and Nginx).
I don’t have any access to the web server configuration.
I use the native
.htaccess shipped with Drupal (I didn’t change anything there).
I figured out the problem.
The web application root is
When I moved the HTML file from
example.com/web I could access it from a web browser without problem.
This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.