Search code examples
wordpressmenuprefix

Wordpressmenu gone after prefix change


for adding more security to a Wordpress website I changed the database prefix. Mostly everything is working fine but muy custom navigation menu of the website is gone. Now it shows all the articles of the website in the navigation menu.

When I log into the Admin Panel, the "menu configuration site" is not working properly. There is no custom menu I created. If I try to create a new navigation menu I get a message saying that a new navigation menu was created. But it´s not there and I can not press on the checkbox for adding a post to the menu.

At the moment I am testing it on a local server (Xampp on my computer) with Wordpress 3.5 Before changing the db prefix it was working.

Things I changed in the db: I renamed every "wp"

wp_commentmeta
wp_comments
wp_links
wp_options
wp_postmeta
wp_posts
wp_terms
wp_term_relationships
wp_term_taxonomy
wp_usermeta
wp_users

wp_user_roles

And everything inside "wp_usermeta" that started with "wp"

Does anybody has any idea?

Regards, John


Solution

  • Have you tried to set your menu as primary?


    I suggest to read the next article about how to change your wp db prefix: http://digwp.com/2010/10/change-database-prefix/

    Pay attention for the "Changing default table prefix after installing WordPress" section expecially.