Where do I place commando in .htaccess ?

Posted in: Newspaper
Post count: 5

I need to add this to my .htaccess file

php_value max_input_vars 5000
php_value max_execution_time 300
php_value post_max_size 50M
php_value upload_max_filesize 50M

my .htaccess file currently looks like this:

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /wp/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /wp/index.php [L]

</IfModule>

# END WordPress

my .htaccess file is placed at the root of the wordpress folder.

where do I place the new code string and does it need another /ifmodule call ??

thanks in advance

Post count: 20688

Hi,

The code should be entered at the very bottom of the htaccess file, try it like that and there should be no problem. You could also contact your hosting provider, they might have a recommended method in this matter.

Thanks

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.