Title: Menu 2 times in the source code
Last modified: December 30, 2018

---

# Menu 2 times in the source code

 *  [mqmarketing](https://wordpress.org/support/users/mqmarketing/)
 * (@mqmarketing)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/menu-2-times-in-the-source-code/)
 * Hi,
 * First I really like the plugin. I just have one problem I’m trying to figure 
   out.
 * I made one menu and dedicated it to the main menu location and the mobile location.
   
   They both work perfectly on Desktop and on Mobile, the only thing is in the source
   code the menu is there 2 times meaning 2 times the same not unique internal links
   not ideal regarding SEO and especially on every page is costing my crawlbudget.
 * So can I make the same menu work on Desktop and Mobile with the menu internal
   links only one time in the source code.
 * Many Thanks!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fmenu-2-times-in-the-source-code%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [megamenu](https://wordpress.org/support/users/megamenu/)
 * (@megamenu)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/menu-2-times-in-the-source-code/#post-11039570)
 * Hi mq,
 * Thanks for getting in touch.
 * This is happening because your theme is outputting the same menu twice on the
   same page, but that it is not something that MMM controls.
 * I think if you disabled MMM for both your desktop and mobile menu you would see
   the same issue. And when MMM is enabled, it is ‘inheriting’ the issue from the
   way your theme is coded.
 * The only way I can think to avoid/work around it would be to disable MMM for 
   your mobile menu, and leave your theme to output it. The IDs for the mobile menu
   items should differ slightly from the desktop menu.

Viewing 1 replies (of 1 total)

The topic ‘Menu 2 times in the source code’ is closed to new replies.

 * ![](https://ps.w.org/megamenu/assets/icon-128x128.png?rev=1489843)
 * [Max Mega Menu](https://wordpress.org/plugins/megamenu/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/megamenu/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/megamenu/)
 * [Active Topics](https://wordpress.org/support/plugin/megamenu/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/megamenu/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/megamenu/reviews/)

## Tags

 * [double](https://wordpress.org/support/topic-tag/double/)

 * 1 reply
 * 2 participants
 * Last reply from: [megamenu](https://wordpress.org/support/users/megamenu/)
 * Last activity: [7 years, 4 months ago](https://wordpress.org/support/topic/menu-2-times-in-the-source-code/#post-11039570)
 * Status: not resolved