Skip to content

Instantly share code, notes, and snippets.

@anuislam
Last active September 23, 2018 20:56
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 anuislam/425745cfbced3c70765db84d4384a105 to your computer and use it in GitHub Desktop.
Save anuislam/425745cfbced3c70765db84d4384a105 to your computer and use it in GitHub Desktop.
how to increase wordpress memory limit Using .htaccess file
php_value memory_limit 256
php_value upload_max_filesize 64M
php_value post_max_size 64M
php_value max_execution_time 300
php_value max_input_time 1000
SSL HTTPS
RewriteCond %{SERVER_PORT} 80
RewriteCond %{HTTPS} !=on
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment