Title: Remove invalid menu items
Author: Shojib Khan
Published: <strong>13. maj, 2019</strong>
Last modified: 17. oktober, 2025

---

Søg plugins

![](https://ps.w.org/remove-invalid-menu-items/assets/banner-772x250.png?rev=2086674)

![](https://s.w.org/plugins/geopattern-icon/remove-invalid-menu-items_fae8ea.svg)

# Remove invalid menu items

 Af [Shojib Khan](https://profiles.wordpress.org/webdevshojib/)

[Download](https://downloads.wordpress.org/plugin/remove-invalid-menu-items.zip)

 * [Detaljer](https://da.wordpress.org/plugins/remove-invalid-menu-items/#description)
 * [Vurderinger](https://da.wordpress.org/plugins/remove-invalid-menu-items/#reviews)
 *  [Installation](https://da.wordpress.org/plugins/remove-invalid-menu-items/#installation)
 * [Udvikling](https://da.wordpress.org/plugins/remove-invalid-menu-items/#developers)

 [Support](https://wordpress.org/support/plugin/remove-invalid-menu-items/)

## Beskrivelse

This is a very simple plugin to remove invalid navigation menu items in one click.
When we move pages to the trash but they still display in the menu. This is so boring
deleting all the invalid menu items one by one and time consuming too.

So, I have created this plugin so that WordPress users can easily remove the invalid
menu items. Just install and activate the plugin then go to the menu you want to
edit. You will find a button beside Save menu to remove the items. This is extremely
helpful when you install theme demo content and remove the demo pages.

## Skærmbilleder

 * [[
 * The “Delete invalid menu items” button in the menu editor

## Installation

 1. Upload the plugin files to the `/wp-content/plugins/remove-invalid-menu-items` 
    directory, or install the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress
 3. Navigate to Appearance > Menus to use the plugin

## FAQ

### How do I use this plugin?

After activation, go to Appearance > Menus. You’ll see a “Delete invalid menu items”
button next to the “Save Menu” button. Click it to remove all invalid menu items.

### What are invalid menu items?

Invalid menu items are menu entries that point to deleted pages, posts, or other
content that no longer exists on your site.

### Is this plugin safe to use?

Yes, the plugin only removes menu items that point to non-existent content. Your
valid menu items remain untouched.

## Anmeldelser

![](https://secure.gravatar.com/avatar/35bfea5bf69685288db98d06119972b016e81bfcb42cd2fae7b785213a981a48?
s=60&d=retro&r=g)

### 󠀁[It worked!](https://wordpress.org/support/topic/it-worked-72/)󠁿

 [sunnycreativegal](https://profiles.wordpress.org/sunnycreativegal/) 18. november,
2020

Thank you! I inadvertently installed all page templates on a project. I had dozens
of pages I deleted and then was then unable to remove from the menu. Your plugin
saved the day. (Wordpress 5.5.3 using WPBakery and MoveDo)

 [ Læs 1 anmeldelse ](https://wordpress.org/support/plugin/remove-invalid-menu-items/reviews/)

## Bidragsydere & udviklere

“Remove invalid menu items” er open source-software. Følgende personer har bidraget
til dette plugin.

Bidragsydere

 *   [ Shojib Khan ](https://profiles.wordpress.org/webdevshojib/)

[Oversæt “Remove invalid menu items” til dit eget sprog.](https://translate.wordpress.org/projects/wp-plugins/remove-invalid-menu-items)

### Interesseret i udvikling?

[Gennemse koden](https://plugins.trac.wordpress.org/browser/remove-invalid-menu-items/),
tjek [SVN repository](https://plugins.svn.wordpress.org/remove-invalid-menu-items/),
eller abonner på [udviklerloggen](https://plugins.trac.wordpress.org/log/remove-invalid-menu-items/)
via [RSS](https://plugins.trac.wordpress.org/log/remove-invalid-menu-items/?limit=100&mode=stop_on_copy&format=rss).

## Ændringslog

#### 1.3.1

 * Fixed fatal error issue
 * Improved plugin stability
 * Added support for WordPress 6.8.3

#### 1.3.0

 * Bump support version to WordPress 6.0.1

## Meta

 *  Version **1.3.1**
 *  Senest opdateret **6 måneder siden**
 *  Aktive installationer **900+**
 *  WordPress-version ** 4.0 eller højere **
 *  Testet op til **6.8.5**
 *  PHP-version ** 7.4 eller højere **
 *  Sprog
 * [English (US)](https://wordpress.org/plugins/remove-invalid-menu-items/)
 * Tag
 * [remove menu](https://da.wordpress.org/plugins/tags/remove-menu/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/remove-invalid-menu-items/advanced/)

## Bedømmelser

 5 ud af 5 stjerner.

 *  [  1 5-stjernet anmeldelse     ](https://wordpress.org/support/plugin/remove-invalid-menu-items/reviews/?filter=5)
 *  [  0 4-stjernet anmeldelser     ](https://wordpress.org/support/plugin/remove-invalid-menu-items/reviews/?filter=4)
 *  [  0 3-stjernet anmeldelser     ](https://wordpress.org/support/plugin/remove-invalid-menu-items/reviews/?filter=3)
 *  [  0 2-stjernet anmeldelser     ](https://wordpress.org/support/plugin/remove-invalid-menu-items/reviews/?filter=2)
 *  [  0 1-stjernet anmeldelser     ](https://wordpress.org/support/plugin/remove-invalid-menu-items/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/remove-invalid-menu-items/reviews/#new-post)

[Se alle anmeldelser.](https://wordpress.org/support/plugin/remove-invalid-menu-items/reviews/)

## Bidragsydere

 *   [ Shojib Khan ](https://profiles.wordpress.org/webdevshojib/)

## Support

Har du noget at sige? Har du brug for hjælp?

 [Vis supportforum](https://wordpress.org/support/plugin/remove-invalid-menu-items/)