WordPress.org

Ready to get started?Download WordPress

Forums

Increase WordPress Menu Limit (1 post)

  1. pduraesa
    Member
    Posted 11 months ago #

    Hi everyone,

    I am trying to extend my horizontal menu capabilities to be able to accommodate about 500 Sub Menus (from their initial 26 top-level menus). I am working locally (localhost) by the way, using MAMP (Mac OS X 10.6.8).

    After having dome some research I figure that I need to add the following code (or similar) to the .htaccess file (located at my WordPress top level, alongside the main 'index.php', the one that launches the site in the browser, am I correct?):

    php_value suhosin.post.max_vars 2048
    php_value suhosin.request.max_vars 2048

    The current .htaccess file contains the following DEFAULT code:


    # BEGIN WordPress

    # END WordPress

    MY QUESTION IS, IF I AM IN THE RIGHT TRACK SO FAR, WHAT DO I EDIT
    IN THE ACTUAL '.htaccess' file?

    I HAVE TRIED THIS, BUT IT DOESN'T WORK:


    # BEGIN WordPress
    php_value suhosin.post.max_vars 2048
    php_value suhosin.request.max_vars 2048
    # END WordPress

    CAN SOMEONE HELP PLEASE?

    MANY THANKS!

Reply

You must log in to post.

About this Topic