Same here. It’s not clear which file is causing this in the first place.
I am using a WP plugin called “Page Links To” to do exactly that.
http://txfx.net/code/wordpress/page-links-to/
you could use this plugin to link to any URL. I have mine set to link to http://mywebpage.com/gallery2