Skip to content

Instantly share code, notes, and snippets.

@stoyan
Created July 4, 2022 05:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stoyan/b18b24de504608dd5ae74c9c9a1e8b5d to your computer and use it in GitHub Desktop.
Save stoyan/b18b24de504608dd5ae74c9c9a1e8b5d to your computer and use it in GitHub Desktop.
<IfModule mod_rewrite.c>
# BEGIN Force http to https
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^(.*) https://%{HTTP_HOST}/$1 [R=301,L]
# END Force http to https
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php [L]
</IfModule>
H2PushResource /wp-content/themes/phpied2/style.css
H2PushResource /wp-includes/css/dist/block-library/style.min.css?ver=5.4.1
H2PushResource /wp-includes/js/wp-emoji-release.min.js?ver=5.4.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment