This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ifModule mod_expires.c> | |
ExpiresActive On | |
ExpiresDefault "access plus 5 seconds" | |
ExpiresByType image/x-icon "access plus 1 month" | |
ExpiresByType image/jpeg "access plus 4 weeks" | |
ExpiresByType image/png "access plus 30 days" | |
ExpiresByType image/gif "access plus 43829 minutes" | |
ExpiresByType application/x-shockwave-flash "access plus 2592000 seconds" | |
ExpiresByType text/css "access plus 604800 seconds" | |
ExpiresByType text/javascript "access plus 604800 seconds" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<IfModule deflate_module> | |
<IfModule filter_module> | |
AddOutputFilterByType DEFLATE text/plain text/html | |
AddOutputFilterByType DEFLATE text/xml application/xml application/xhtml+xml application/xml-dtd | |
AddOutputFilterByType DEFLATE application/rdf+xml application/rss+xml application/atom+xml image/svg+xml | |
AddOutputFilterByType DEFLATE text/css text/javascript application/javascript application/x-javascript | |
AddOutputFilterByType DEFLATE font/otf font/opentype application/font-otf application/x-font-otf | |
AddOutputFilterByType DEFLATE font/ttf font/truetype application/font-ttf application/x-font-ttf | |
</IfModule> | |
</IfModule> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Files pphinfo.php> | |
Order deny,allow | |
Deny from all | |
Allow from <ip1> <ip2> | |
</Files> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<RequireAll> | |
Require ip <ip1> <ip2> | |
</RequireAll> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
order deny,allow | |
deny from all | |
allow from <ip goes here> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Disable the emoji's | |
*/ | |
function disable_emojis() { | |
remove_action( 'wp_head', 'print_emoji_detection_script', 7 ); | |
remove_action( 'admin_print_scripts', 'print_emoji_detection_script' ); | |
remove_action( 'wp_print_styles', 'print_emoji_styles' ); | |
remove_action( 'admin_print_styles', 'print_emoji_styles' ); | |
remove_filter( 'the_content_feed', 'wp_staticize_emoji' ); | |
remove_filter( 'comment_text_rss', 'wp_staticize_emoji' ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Force HTTPS redirection | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteCond %{HTTPS} off | |
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L] | |
</IfModule> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Redirecting root to subfolder /ccds/ | |
RedirectMatch ^/$ /ccds/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ( !(window.ActiveXObject) && "ActiveXObject" in window ) { | |
/* IE 11*/ | |
$("html").addClass('MSIE MSIE11'); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<IfModule mod_rewrite.c> | |
# IMPORTANT TO PLACE IT BEFORE OTHER REWRITE RULES. REDIRECTS ONE FOLDER PATH TO ANOTHER | |
Options +FollowSymLinks -MultiViews | |
RewriteEngine On | |
RewriteBase / | |
RewriteRule ^produkte/(.*)$ /pm_produkte/$1 [L,NC,R=302] | |
</IfModule> |
OlderNewer