ClickCease
Wordpress Menu Limit - Can't save all changes - max_input_vars - Long Island Website Design & Digital Marketing Company

logo

  • Contact
  • Services
    • Website Design
    • PPC Management
    • Facebook Ad Management
    • Online Reputation Management
    • Google My Business Optimization
    • Email Marketing
    • Social Media Marketing
    • Search Engine Optimization Services
  • Blog
  • About
  • 📱(631) 406-9322
WordPress Menu Limit – Can’t save all changes – max_input_vars
Home / Blog / WordPress Menu Limit – Can’t save all changes – max_input_vars

WordPress Menu Limit – Can’t save all changes – max_input_vars

October 6, 2014 Blog by all-things-digital
WordPress Menu Limit – Can’t save all changes – max_input_vars

WordPress Menu Limit

This evening I have been working on an extensive build for a client. When I got to 47 menu items in my primary menu, I noticed any pages I added would not save. Even when I added the pages one at a time, or from different computers. This was very frustrating so I began doing my troubleshooting. The order of the menu items didn’t matter, but the number of items did. As soon as I noticed that it was 47 items, I assumed the menu.php page send the entire menu over in one process. It doesn’t add just a page or two, it adds the whole menu each and every time. This led me to believe there was a cap on how much data the page can send or the host can receive. This issue also causes problems for prestashop users as well, so listen up if this applies to you as well!

DO YOU NEED A NEW WEBSITE OR DOES YOUR WEBSITE JUST NEED AN UPDATE? USE OUR FREE WEBSITE OPTIMIZATION CHECKLIST TO FIND OUT!
👉 CLICK HERE TO GET IT NOW! 👈

I began to poke around on the web and found some information about the max_input_vars variable in your web hosts php.ini file. This sets the amount of variables the server will allow you to send it in any process. Mine was set at 1000. I wanted to change this value, increase it.

Now, the current site I am working is on a godaddy account. On bluehost and other hosts you can access you php.ini files and make edits as you need. Godaddy however does not allow this. So you have to make your own php.ini file. Here are the steps to  fix this limit.

  1. Access your webroot via your file manager in godaddy
  2. create a new file and name it php5.ini
  3. copy and paste this single line of code into that file without the quotes “max_input_vars = 300o”
  4. save the changes to the file.
  5. go to Hosting>System Processes
  6. Select “End Web” Button
  7. Now try to save your additional menu items.

This is what worked for me. While this is a little intimidating to do at first as you may not be sure what exactly you are doing, if you delete the file your host should revert to their default php.ini. So the process is reversible and not all that scary!

website-design
« Prev Next »

About all-things-digital

All Things Digital is a digital marketing agency and web design company based in Long Island, New York. We are full service digital marketers offering online marketing, advertising and website design solutions for small businesses. We are website developers for: Contractors Restaurants Martial Arts Schools Pet Stores Restaurants Delis Healthcare We advertise using: Facebook Ads Google Adwords Yelp Affiliate Networks We supply content for: Marketing Campaigns Email Marketing Advertising Campaigns Business Brochures Event Flyers Business Card Designs We help businesses get: Google Reviews Facebook Reviews Yelp Reviews and more!

Recent Posts

  • What is an ADA compliant website?
  • WordPress Website Maintenance: What Is It and Is It Necessary?
  • 2025 Marketing Playbook: Essential Trends to Follow
  • Top 5 Qualities to Look for in a Web Design Company
  • Paving Contractor Funnel Explainer – Get Contractor Leads

Related posts

What is an ADA compliant website?
March 8, 2025

What is an ADA compliant website?

Have you ever wondered if your favorite website could be accessed by everyone, regardless of their abilities In our...
WordPress Website Maintenance: What Is It and Is It Necessary?
December 26, 2024

WordPress Website Maintenance: What Is It and Is It Necessary?

Ever wonder why some WordPress sites seem to run smoothly while others are constantly facing issues Keeping a website in...
2025 Marketing Playbook: Essential Trends to Follow
December 26, 2024

2025 Marketing Playbook: Essential Trends to Follow

Have you ever wondered how marketing will evolve in just a couple of years With technology growing at lightning speed, the...

Digital Agency Services

  • Email Marketing
  • Facebook Ad Management
  • GMB Optimization
  • Online Reputation Management
  • PPC Management
  • SEO Services
  • Social Media Marketing
  • Website Design

Free Strategy Session

Let's have a free one-on-one strategy call to discuss how your business can benefit from Digital Marketing. Contact us via our website and you'll also get 50% - 100% off select services (seriously).

Get Started

New York Website Design

Choosing a Local Web Designer
  • Privacy Policy
  • Sitemap
  • Locations
All Things Digital - New York Digital Marketing Company

Get the free website optimization checklist!

Whether you want a brand new site, or are looking to see if your old site is still up to par, our checklist will help! Get it today!

Get The Checklist

No Thanks!

Get Your Checklist Now!

You're almost there! Just enter your email below and get instant acces! 

By signing up you agree to our terms

75% complete

Where would you like us to send
the Website Optimization Checklist?

Don't worry. W hate spam too! Your info is safe with us!

x