Support » Fixing WordPress » The menu has a limit of 49 links of pages in the navbar

  • Resolved mettemor


    I really need help. I use this theme and my problem is that when I add links to the second menubar, using the wp menu maker, it seems to me that I only can add 49 pages/links all together. When I have reached 49, I cannot add more linkes. Please help me, it is very important to solve this for me. I cannot finnish my work before I have solved this.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Moderator James Huff


    Volunteer Moderator

    I can´t see the solution, can you tell me?

    I’m very interested to learning the answer to this as well, because I will need roughly 75 links in my submenus.

    I have sent a mail to my serverhost, and asked them to set the parameters to 0 = 0
    suhosin.request.max_vars = 0

    We´ll see if it helps….

    The problem is solved! They put the parameters to 1200, and that solved it!

    Luckily this is one of the top 3 pages of google search “wordpress menu limit”, so I quickly found a solution. I wrote a letter to my ISP to set the limit to 5000 and now it’s solved. I just asked them to set the following two values in PHP. = 5000
    suhosin.request.max_vars = 5000

    But I think WordPress with it’s millions of downloads should really think about a different structure for the menu data, as I think not all users go as far as this and really look after the problem. And something as popular as WordPress really shouldn’t work in a “ask you ISP to set these values for you” way!

    after much searching I came across this post. Experiencing the same issue with my custom menu maxing out at 16 items. I have my own server and suhosin is NOT even installed in the PHP compile. Anyone have any insight to that?

    I’ve ran into the same issue, max. 16 menu items.
    I pulled up a phpinfo() and my host (shared) had the default set to 200.

    Put this in your .htacces file, and you’ll hopefully be good to go:

    php_value 2048
    php_value suhosin.request.max_vars 2048

    This obviously requires your host to allow changing the values in your .htaccess, and the value of 2048 might not be enough for you.

    It worked for me, so I’m posting it here in hopes of helping others get unstuck and closer to launching 🙂

    U can turn it off,

    create .htaccess file in your domain directory

    <IfModule mod_php.c>
    php_value suhosin.simulation 1

    pastate it. save. upload.

    it works for me.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘The menu has a limit of 49 links of pages in the navbar’ is closed to new replies.