WordPress Add javascript:void(0); to menu link item?
I am not sure how it does effect the SEO but just to answer this question:- You can not save menu item with javascript:void(0); because WordPress filter the URL using function esc_url() thus removing bad values. And it all happens in Nav Walker class. So you need to alter the URL when WordPress done with … Read more