Support » Fixing WordPress » Problem with navigation menu
3 years, 6 months ago
I am having a problem with the links generated using wp_nav_menu().
For some reason, if you are on a page that is linked in the menu the href attribute equals “./” instead of “http://example.com/about/” which is more of a preferable output.
Can anyone shed some light on why this is happening?
Can you post a link to a page demonstrating this in the default 2013 theme with all plugins deactivated?
I forgot to mention that it was running locally on wampserver.
I have done some tests and it appears it was a plugin called WP HTML Compression that was causing the issue with the theme.
I will raise the issue with the plugin author.