I have recently added wordpress to our existing site to give me an easy-to-update news section. I have installed it in a subdirectory from the root called "announcements". (www.lcwy.org/announcements) I had everything working great for most of the week, but then made a BIG mistake yesterday. I changed the site URL in settings to say http://www.lcwy.org, instead of http://www.lcwy.org/announcements. Of course, this broke everything. I tried editing the "home" setting in the database back to its original setting, but it stayed broken.
I then deleted the entire announcements directory and database and started from scratch, recreating everything in the same locations. I can now view the articles page, but if I try to view an individual article, the site still tries to load index.php from my ROOT directory, instead of from /announcements/. This results in my site homepage content, but without any styling.
As a side note, I have also noticed that, occasionally, my server locks the directory with a web.config file, which gives me an error 500 when browsing to /announcements/. once i delete this file, I can load it again.
Anyone have an idea to fix this? I am guessing that the original mistake I made must have tweaked the server settings somewhere.