WordPress menu limit

  • Anonymous

    #1387

    I Hope You All enjoy the Summer & all the great work done in Graphene.

    One thing I found useful was fixing WordPress limit of 16 sub/ menues:

    Some might write to their ISP Provider and ask them to change these 2

    PHP values to 0, 5000 or 10000:

    suhosin.post.max_vars = 5000
    suhosin.request.max_vars = 5000

    But You can also insert these values in Your .htaccess file:

    (IF your provider have Suhosin installed, most have 🙂

    php_value suhosin.post.max_vars 10000
    php_value suhosin.get.max_vars 10000
    php_value suhosin.request.max_vars 10000

    Something like this:

    # 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>
    php_value suhosin.post.max_vars 10000
    php_value suhosin.get.max_vars 10000
    php_value suhosin.request.max_vars 10000

    # END WordPress

    Useful software links:

    FileZilla FTP Software

    http://filezilla-project.org/

    Komodo CSS Editor

    http://www.activestate.com/komodo-edit

    Kim

    drchewbacca

    #15499

    Thanks for the tip. I was looking for a solution to this problem. My host provider won’t change the PHP settings for me because I only have a basic offer, but this .htaccess, where I can do the changes myself, sounds good.

    Can you just clarify what the last code you wrote is. Do I have to insert all of this in the .htaccess file ?

    # 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>
    php_value suhosin.post.max_vars 10000
    php_value suhosin.get.max_vars 10000
    php_value suhosin.request.max_vars 10000

    # END WordPress

    Or just this ?

    php_value suhosin.post.max_vars 10000
    php_value suhosin.get.max_vars 10000
    php_value suhosin.request.max_vars 10000
Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

Do NOT follow this link or you will be banned from the site!