Viewing File: /home/nftbase/web/rareseanft.com/public_html/.htaccess

Options +MultiViews
RewriteEngine On
RewriteCond %{REQUEST_FILENAME}.php -f
RewriteCond %{REQUEST_URI} !/$
RewriteRule ^(.*)$ $1\.php
Options -Indexes

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

RewriteEngine on
ErrorDocument 404 /404.php
ErrorDocument 400 /404.php
ErrorDocument 401 /404.php
ErrorDocument 403 /404.php
ErrorDocument 404 /404.php
ErrorDocument 500 /404.php

# Force a 404 for ".php" requests that don't exist
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule \.php$ - [R=404]

RewriteCond %{REQUEST_URI} ^/404/$
RewriteRule ^(.*)$ 404.php [L]


<IfModule mod_headers.c>
Header set Access-Control-Allow-Origin "*"
</IfModule>

# RewriteCond %{SERVER_PORT} 80
# RewriteRule ^(.*)$ https://sociokits.online/$1 [R,L]

# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php73” package as the default “PHP” programming language.
# <IfModule mime_module>
#  AddHandler application/x-httpd-ea-php73 .php .php7 .phtml
# </IfModule>
# php -- END cPanel-generated handler, do not edit
Back to Directory File Manager
<