Links to (#) causing my pages to exit

You probably have a base tag in your page that was added when you enabled routing. The base tag will make all relative urls relative to the value of that tag.