I set up a gallery with posts that populate automatically, but when I click the image, it took me to the homepage. I looked at my posts setup and noticed that the permalinks were not showing up. I tried to sort out the permalinks to numerical in thinking that it had some kind of mix up, but then it took me to a 405 error page.
I then deleted that gallery, and all my links work normally again. please help