I have a WordPress install with a static page showing at the main domain & my blog located at /blog. Whenever I post, WP creates a /blog directory, which means that my blog shows an "Index of" page instead of my proper blog.
This problem has persisted for quite a while, but I haven't had time to address it. When I delete the folder called "blog", everything works fine.
I'd be grateful for any suggestions.
Thanks,
Derya.
it sounds like your permalinks in your settings havent been set properly.. have you also made sure that the reading section of your settings has your homepage set to the static page you want.. and your posts page set to your blog page?
try changing your permalinks to
"/%category%/%postname%"
I can confirm that my Reading Settings are correct.
Won't changing my permalinks structure affect previous posts though? My current setting is: /blog/%year%/%monthnum%/%postname%/
Thanks.
if you havent manually changed your permalinks on your posts other than the post name then they should auto update..
the addition of /blog/ is where i think the problem lies..
i would suggest making a category called 'blog' and place all posts that you want to read on the blog page under that category.. then change your permalinks to
/%category%/%year%/%monthnum%/%postname%/
the other thing that could be messing it up is if you have a really tight htaccess file that is telling all traffic that leads to a subpage to be an index of page.. but this is unlikely as im sure you have more than just a homepage and a blog page
I think this worked (keeping my fingers crossed)! Thank you, thank you! :)