You cannot find an .htaccess file in Elementor Hosting because the environment uses Nginx server technology instead of the traditional Apache setup. Elementor Hosting provides Nginx to ensure faster load times and better stability, so common server configurations like redirects or security headers are handled via WordPress plugins instead of manual server file editing.
Why Elementor Hosting uses Nginx
We utilize Nginx to provide a faster, more secure, and stable environment for your Elementor sites. Nginx is specifically designed to handle high traffic and serve static content (like your images and CSS) with much higher efficiency than Apache.
By using Nginx, your site benefits from:
- Faster Load Times: Lower Time to First Byte (TTFB) and improved overall performance.
- Enhanced Stability: Better handling of concurrent visitors, especially for high-traffic or eCommerce sites.
- Managed Performance: We handle complex server rules for you so you can focus on building your site.
How to perform common .htaccess tasks
Since you won’t have a .htaccess file to edit, you can handle common configurations using specialized WordPress tools that are often safer and more efficient.
Managing Redirects
Instead of manually writing rewrite rules, you can manage 301 and 302 redirects directly through your My Elementor dashboard. This prevents syntax errors that could take your site offline. For details, see Redirect rules.
Custom Security Headers
Advanced security configurations like HSTS or Content Security Policies (CSP) are typically handled at the server level in Nginx. However, you can manage these within WordPress.
- Recommended Plugin: HTTP Security Headers allows you to set up advanced security protocols through a simple interface.
How to access your site files
While you won’t find a .htaccess file, you still have full access to your WordPress core files, themes, and plugins for other customizations (like editing wp-config.php).
To access your website files, see Access the files of your Elementor Host site.