最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

themes - .htaccess edits

programmeradmin6浏览0评论

WordPress newbie here, apologies if things don't make sense.

I bought a premium theme and uploaded/installed it to WordPress. Surely enough, after doing so, I found out that I was supposed to add the following values to .htaccess:

php_value post_max_size 64M
php_value upload_max_filesize 64M
php_value max_file_uploads 128M
php_value max_input_vars 5000

The authors are very adamant to do this BEFORE installing and activating the theme, but that's already too late in my case.

What's the appropriate course of action here, deactivate and delete the theme in question in order to add those lines to .htaccess?

WordPress newbie here, apologies if things don't make sense.

I bought a premium theme and uploaded/installed it to WordPress. Surely enough, after doing so, I found out that I was supposed to add the following values to .htaccess:

php_value post_max_size 64M
php_value upload_max_filesize 64M
php_value max_file_uploads 128M
php_value max_input_vars 5000

The authors are very adamant to do this BEFORE installing and activating the theme, but that's already too late in my case.

What's the appropriate course of action here, deactivate and delete the theme in question in order to add those lines to .htaccess?

Share Improve this question asked Aug 2, 2020 at 19:36 cvlocvlo 111 bronze badge 1
  • 1 If your default server values are already greater than those settings then there should be no problem adding them after the fact. – MrWhite Commented Aug 2, 2020 at 21:26
Add a comment  | 

1 Answer 1

Reset to default 1

Just switch the theme, then delete the theme you bought and after edited the .htaccess reinstall it. This should work without problems. If you have access to cpanel, set the values from the php settings section instead of rely on the .htaccess file.

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论