Where to place a line of code in the htaccess file?
-
Hello,
I was trying to edit my htaccess file to increase my memory limit. The code that I was trying to add is this:
php_value memory_limit 64M
This is my current htaccess file:
# -FrontPage- IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti* <Limit GET POST> order deny,allow deny from all allow from all </Limit> <Limit PUT DELETE> order deny,allow deny from all </Limit> AuthName ****************.com AuthUserFile /home/*******/public_html/_vti_pvt/service.pwd AuthGroupFile /home/*******/public_html/_vti_pvt/service.grp # 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] </IfModule> # END WordPress
I tried placing the code under and over the “# END WordPress”, but it gave me a 500 error.
Also tried it it below the “# -FrontPage-“, but still gave me an error.
Sorry if I’m a coding illiterate.
Thank you,
Algen
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Where to place a line of code in the htaccess file?’ is closed to new replies.