JezK
Edit File: .htaccess
# 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 # BEGIN HttpHeaders # The directives (lines) between "BEGIN HttpHeaders" and "END HttpHeaders" are # dynamically generated, and should only be modified via WordPress filters. # Any changes to the directives between these markers will be overwritten. <IfModule mod_headers.c> <FilesMatch "\.(php|html)$"> Header set Content-Security-Policy "default-src 'self' 'unsafe-inline'; script-src 'unsafe-eval' https://cdn.tailwindcss.com https://unpkg.com; script-src-elem https://unpkg.com; style-src 'self' 'unsafe-inline' data: https://cdn.tailwindcss.com https://fonts.googleapis.com http://fonts.googleapis.com; style-src-elem 'self' https://fonts.googleapis.com https://unpkg.com; connect-src 'self' 'unsafe-inline' https://generativelanguage.googleapis.com https://generativelanguage.googleapis.com https://unpkg.com; font-src 'self' data: https://fonts.gstatic.com; form-action 'self'; worker-src 'self' blob:" </FilesMatch> </IfModule> # END HttpHeaders # BEGIN HttpHeadersAuth # The directives (lines) between "BEGIN HttpHeadersAuth" and "END HttpHeadersAuth" are # dynamically generated, and should only be modified via WordPress filters. # Any changes to the directives between these markers will be overwritten. # END HttpHeadersAuth # BEGIN HttpHeadersCompression # The directives (lines) between "BEGIN HttpHeadersCompression" and "END HttpHeadersCompression" are # dynamically generated, and should only be modified via WordPress filters. # Any changes to the directives between these markers will be overwritten. # END HttpHeadersCompression # BEGIN HttpHeadersContentType # The directives (lines) between "BEGIN HttpHeadersContentType" and "END HttpHeadersContentType" are # dynamically generated, and should only be modified via WordPress filters. # Any changes to the directives between these markers will be overwritten. # END HttpHeadersContentType # BEGIN HttpHeadersExpires # The directives (lines) between "BEGIN HttpHeadersExpires" and "END HttpHeadersExpires" are # dynamically generated, and should only be modified via WordPress filters. # Any changes to the directives between these markers will be overwritten. # END HttpHeadersExpires # BEGIN HttpHeadersCookieSecurity # The directives (lines) between "BEGIN HttpHeadersCookieSecurity" and "END HttpHeadersCookieSecurity" are # dynamically generated, and should only be modified via WordPress filters. # Any changes to the directives between these markers will be overwritten. <IfModule mod_headers.c> Header always edit Set-Cookie (.*) "$1;Secure;SameSite=Strict" </IfModule> # END HttpHeadersCookieSecurity # BEGIN HttpHeadersTiming # The directives (lines) between "BEGIN HttpHeadersTiming" and "END HttpHeadersTiming" are # dynamically generated, and should only be modified via WordPress filters. # Any changes to the directives between these markers will be overwritten. # END HttpHeadersTiming # BEGIN Really Simple Security No Index # The directives (lines) between "BEGIN Really Simple Security No Index" and "END Really Simple Security No Index" 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 No Index # php -- BEGIN cPanel-generated handler, do not edit # Set the “alt-php74” package as the default “PHP” programming language. <IfModule mime_module> AddHandler application/x-httpd-alt-php74___lsphp .php .php7 .phtml </IfModule> # php -- END cPanel-generated handler, do not edit