✏️ Edit: .htaccess
Path:
/home/thiqat5/work.thiqatech.com/.htaccess
Size: 1.48 KB · Modified: 2026-11-17 06:31:01 · Perm: 0644 · Writable
← Back to directory
👁 View
⬇ Download
# BEGIN InMotion Hosting Block Bots RewriteEngine On RewriteCond %{HTTP_USER_AGENT} (meta-externalagent|Googlebot|Googlebot|bingbot|ClaudeBot|GPTBot|meta-externalagent|Amazonbot) [NC] RewriteRule .* - [F,L] # END InMotion Hosting Block Bots <IfModule mod_rewrite.c> <IfModule mod_negotiation.c> Options -MultiViews -Indexes </IfModule> RewriteEngine On # Handle Authorization Header RewriteCond %{HTTP:Authorization} . RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] # Redirect Trailing Slashes If Not A Folder... RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} (.+)/$ RewriteRule ^ %1 [L,R=301] # Send Requests To Front Controller... RewriteCond %{REQUEST_URI} !(\.css|\.js|\.png|\.jpg|\.jpeg|\.gif|robots\.txt|\.ico|\.ttf|\.woff|\.woff2|\.svg)$ [NC] RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^ index.php [L] RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_URI} !^/public/ RewriteRule ^(css|assets|storage|landing|installer|js)/(.*)$ public/$1/$2 [L,NC] </IfModule> <Files 403.shtml> order allow,deny allow from all </Files> # php -- BEGIN cPanel-generated handler, do not edit # Set the “ea-php74” package as the default “PHP” programming language. <IfModule mime_module> AddHandler application/x-httpd-ea-php74 .php .php7 .phtml </IfModule> # php -- END cPanel-generated handler, do not edit
💾 Save
Cancel
Save as UTF-8, newlines normalized to LF