• I’m trying to use an .htaccess file in wp-admin to override my web hosts’ default values for PHP max upload size. While it works great for solving that problem, for some reason its presence in the wp-admin directory is breaking the admin layout. No images render at all. I see the round box outlines, but images aren’t loading.

    I don’t see what the issue would be, since there’s no .htaccess file deployed by WP in the wp-admin directory.

    Anyone run into this before? Know a workaround?

Viewing 3 replies - 1 through 3 (of 3 total)
  • What’s in your wp-admin .htaccess?

    What else is in the htaccess file? Did you create the file with a text editor? Does the file use correct character encoding? From other WP threads, this seems to work:

    php_value upload_max_filesize 20M
    php_value post_max_size 20M
    php_value memory_limit 20M
    Thread Starter jtwg

    (@jtwg)

    I fixed the problem, though it was an unexpected fix. I had the lines that songdogtech had, but to solve the image problem I surrounded them w/ If brackets, like so:

    <IfModule php5_module>
    php_value upload_max_filesize 20M
    php_value post_max_size 21M
    php_value max_execution_time 400
    php_value max_input_time 400
    </IfModule>
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘.htaccess in wp-admin breaks layout’ is closed to new replies.