Sid Gifari File Manager
🏠 Root
/
home1
/
immorth6
/
public_html
/
Editing: .htaccess
# BEGIN Really Simple Security Redirect <IfModule mod_rewrite.c> RewriteEngine on RewriteCond %{HTTPS} !=on [NC] RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/ RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L] </IfModule> # END Really Simple Security Redirect # BEGIN WordPress # The directives (lines) between "BEGIN WordPress" and "END WordPress" are # dynamically generated, and should only be modified via WordPress filters. # Any changes to the directives between these markers will be overwritten. <IfModule mod_rewrite.c> RewriteEngine On RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress # php -- BEGIN cPanel-generated handler, do not edit # Set the “ea-php82” package as the default “PHP” programming language. <IfModule mime_module> AddHandler application/x-httpd-ea-php74___lsphp .php .php7 .phtml </IfModule> # php -- END cPanel-generated handler, do not edit # BEGIN WP-Optimize Gzip compression <IfModule mod_filter.c> <IfModule mod_deflate.c> # Compress HTML, CSS, JavaScript, Text, XML and fonts AddType application/vnd.ms-fontobject .eot AddType font/ttf .ttf AddType font/otf .otf AddType font/x-woff .woff AddType image/svg+xml .svg AddOutputFilterByType DEFLATE application/javascript AddOutputFilterByType DEFLATE application/rss+xml AddOutputFilterByType DEFLATE application/vnd.ms-fontobject AddOutputFilterByType DEFLATE application/x-font AddOutputFilterByType DEFLATE application/x-font-opentype AddOutputFilterByType DEFLATE application/x-font-otf AddOutputFilterByType DEFLATE application/x-font-truetype AddOutputFilterByType DEFLATE application/x-font-ttf AddOutputFilterByType DEFLATE application/x-font-woff AddOutputFilterByType DEFLATE application/x-javascript AddOutputFilterByType DEFLATE application/xhtml+xml AddOutputFilterByType DEFLATE application/xml AddOutputFilterByType DEFLATE font/opentype AddOutputFilterByType DEFLATE font/otf AddOutputFilterByType DEFLATE font/ttf AddOutputFilterByType DEFLATE font/woff AddOutputFilterByType DEFLATE image/svg+xml AddOutputFilterByType DEFLATE image/x-icon AddOutputFilterByType DEFLATE text/css AddOutputFilterByType DEFLATE text/html AddOutputFilterByType DEFLATE text/javascript AddOutputFilterByType DEFLATE text/plain AddOutputFilterByType DEFLATE text/xml # Remove browser bugs (only needed for really old browsers) BrowserMatch ^Mozilla/4 gzip-only-text/html BrowserMatch ^Mozilla/4\.0[678] no-gzip BrowserMatch \bMSIE !no-gzip !gzip-only-text/html <IfModule mod_headers.c> Header append Vary User-Agent </IfModule> </IfModule> </IfModule> # END WP-Optimize Gzip compression # BEGIN NFD Htaccess # Managed by Newfold Htaccess Manager v1.0.0 (ovochi.com) # STATE sha256: 7c4c00bb13ff8fc0007dfeb8a60d323160d7dc88d31e715d26d48f8bfc9cc3ce applied: 2026-02-23T21:45:58Z # BEGIN Newfold Browser Cache <IfModule mod_expires.c> ExpiresActive On ExpiresDefault "access plus 24 hours" ExpiresByType text/html "access plus 2 hours" ExpiresByType image/jpg "access plus 24 hours" ExpiresByType image/jpeg "access plus 24 hours" ExpiresByType image/gif "access plus 24 hours" ExpiresByType image/png "access plus 24 hours" ExpiresByType image/webp "access plus 24 hours" ExpiresByType text/css "access plus 24 hours" ExpiresByType text/javascript "access plus 24 hours" ExpiresByType application/pdf "access plus 1 week" ExpiresByType image/x-icon "access plus 1 year" </IfModule> # END Newfold Browser Cache # BEGIN Newfold CF Optimization Header <IfModule mod_rewrite.c> RewriteEngine On # Skip setting for admin/API routes RewriteCond %{REQUEST_URI} !/wp-admin/ [NC] RewriteCond %{REQUEST_URI} !/wp-login\.php [NC] RewriteCond %{REQUEST_URI} !/wp-json/ [NC] RewriteCond %{REQUEST_URI} !/xmlrpc\.php [NC] RewriteCond %{REQUEST_URI} !/admin-ajax\.php [NC] # Skip if the exact cookie and value are already present RewriteCond %{HTTP_COOKIE} !(^|;\s*)nfd\-enable\-cf\-opt\=63a6825d27cab0f204d3b602 [NC] # Set env var if we passed all conditions RewriteRule .* - [E=CF_OPT:1] </IfModule> <IfModule mod_headers.c> # Set cookie only if env var is present (i.e., exact cookie not found) Header set Set-Cookie "nfd-enable-cf-opt=63a6825d27cab0f204d3b602; path=/; Max-Age=86400; HttpOnly" env=CF_OPT </IfModule> # END Newfold CF Optimization Header # BEGIN Newfold Skip 404 Handling for Static Files <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !(robots\.txt|ads\.txt|[a-z0-9_\-]*sitemap[a-z0-9_\.\-]*\.(xml|xsl|html)(\.gz)?) RewriteCond %{REQUEST_URI} \.(css|htc|less|js|js2|js3|js4|html|htm|rtf|rtx|txt|xsd|xsl|xml|asf|asx|wax|wmv|wmx|avi|avif|avifs|bmp|class|divx|doc|docx|eot|exe|gif|gz|gzip|ico|jpg|jpeg|jpe|webp|json|mdb|mid|midi|mov|qt|mp3|m4a|mp4|m4v|mpeg|mpg|mpe|webm|mpp|otf|_otf|odb|odc|odf|odg|odp|ods|odt|ogg|ogv|pdf|png|pot|pps|ppt|pptx|ra|ram|svg|svgz|swf|tar|tif|tiff|ttf|ttc|_ttf|wav|wma|wri|woff|woff2|xla|xls|xlsx|xlt|xlw|zip)$ [NC] RewriteRule .* - [L] </IfModule> # END Newfold Skip 404 Handling for Static Files # END NFD Htaccess # BEGIN cPanel-generated php ini directives, do not edit # Manual editing of this file may result in unexpected behavior. # To make changes to this file, use the cPanel MultiPHP INI Editor (Home >> Software >> MultiPHP INI Editor) # For more information, read our documentation (https://go.cpanel.net/EA4ModifyINI) <IfModule php8_module> php_flag display_errors Off php_value max_execution_time 60 php_value max_input_time 60 php_value max_input_vars 1000 php_value memory_limit 512M php_value post_max_size 516M php_value session.gc_maxlifetime 1440 php_value session.save_path "/var/cpanel/php/sessions/ea-php83" php_value upload_max_filesize 512M php_flag zlib.output_compression Off </IfModule> <IfModule lsapi_module> php_flag display_errors Off php_value max_execution_time 60 php_value max_input_time 60 php_value max_input_vars 1000 php_value memory_limit 512M php_value post_max_size 516M php_value session.gc_maxlifetime 1440 php_value session.save_path "/var/cpanel/php/sessions/ea-php83" php_value upload_max_filesize 512M php_flag zlib.output_compression Off </IfModule> # END cPanel-generated php ini directives, do not edit # BEGIN Really Simple Security Disable directory indexing # The directives (lines) between "BEGIN Really Simple Security Disable directory indexing" and "END Really Simple Security Disable directory indexing" are # dynamically generated, and should only be modified via WordPress filters. # Any changes to the directives between these markers will be overwritten. # END Really Simple Security Disable directory indexing
Save
Cancel