Support » How-To and Troubleshooting » [Resolved] WordPress keeps adding a subfolder and breaking

[Resolved] WordPress keeps adding a subfolder and breaking

  • I have a unique set up for my wordpress. The files are located in the root directory, but I have the front page set in the General settings to display at http://www.mysite.com/blog/.

    Unfortunately, WordPress keeps automatically creating a subfolder named “blog” and when it does this is breaks the site. The subfolder is empty, so when people visit mysite.com/blog they find a “nothing found” error.

    Why is WordPress creating this folder and how can I stop it from doing this?

Viewing 8 replies - 1 through 8 (of 8 total)
  • What plugins do you have?

    You could make a symlink from ‘blog’ back to root, but it’s rather backwards to me. Most people want to go ‘My blog is in ‘blog’, but I want it to act like it’s in root.’

    Yeah, it’s a weird set-up, I agree. It’s an old domain that has gone through several incarnations over the years. A URL with baggage, I guess you could say.

    I made the /blog/ directory, stuffed it with an index.php file that has a PHP redirect script that redirects to the root. That seems to work, but the site no long shows up at http://www.mysite.com/blog/. With this method I might as well just leave that redirect and change the general settings to display the blog at the root. It negates my master plan.

    Do you think that’ll matter to google and SEO, etc.? I’ve heard Google penalizes for redirects, but sometimes it’s hard to know what Google advice is good and what’s jive.

    WordPress should not be creating any sort of “blog” folder. How are you making it do that?

    It seems to do it whenever I upload a photo or sometimes even when I don’t. It creates a /blog/wp-content/uploads/2009/01/file.jpg subdirectory. Seems really odd to me too.

    My plugins are:
    All in one SEO
    Audio Player
    Custom Query String Reloaded

    Can I change permissions somewhere to fix this?

    Ah, on your admin panel, go to Settings and click on Miscellaneous .

    Change ‘Store uploads in this folder to /wp-content/uploads/

    Leave off the leading slash. Make it “wp-content/uploads”.

    Ah! I think that’ll do it. That’s much, that’s great help.

    Whoops, good catch, Otto!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Resolved] WordPress keeps adding a subfolder and breaking’ is closed to new replies.
Skip to toolbar