Thursday, 5 January 2023
CodeBase
Snippets, tricks and boilerplate
JavaScript
Angular
ionic
React
PHP
CSS
Webpack
Tools
CodeBase
JavaScript
Angular
ionic
React
PHP
CSS
Webpack
Tools
Home
/
Tag:
htaccess
10. April 2020
No Responses
htaccess force SSL/HTTPS
RewriteEngine On RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] Permanent 301 Temporary 302
read more>
31. March 2020
No Responses
htaccess for Angular 2+ (probably other JS) apps
allow from all <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.html$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . index.html [L] </IfModule>
read more>
14. December 2019
No Responses
WordPress htaccess config
Default .htaccess entries for wordpress: # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </If...
read more>