WordPress.org

Ready to get started?Download WordPress

Forums

Directories CANNOT be created in my Linux therefor 404 (6 posts)

  1. trevoryao
    Member
    Posted 6 years ago #

    Okay, long story short, and this is weird:

    My configuration: Apache, PHP, Mysql, WordPress

    My installation went pretty well actually, everything is fine.

    Question is when I wrote a post, why it didn't create directories under my wordpress directory.

    Like this IP/wordpress/2008/01/22/second-post/

    I checked out the wordpress directory, the 2008, 01 , 22 directories weren't created at all, that's why when I go to that link, it displays 404. I have actually chmod 777 on that wordpress directory, so I don't think it's the problem of writable or not.

    Any thoughts, everyone?

  2. homeycomb
    Member
    Posted 6 years ago #

    wordpress doesnt create directories. your posts are stored in a mysql database. the "illusion" of directories is a function of having pretty permalinks enabled.

  3. trevoryao
    Member
    Posted 6 years ago #

    Hello, homeycomb, thanks for the quick reply. So you think the problem is the posts weren't actually written into mysql?

    I can see the post on the ip/wordpress link. It only shows the problem when I tried to comment or check the whole post by clicking on the title.

    Thoughts?

  4. homeycomb
    Member
    Posted 6 years ago #

    So you think the problem is the posts weren't actually written into mysql?

    Did I say that? No.

    I said that WordPress doesnt create directories. That there is an illusion of directories that is created when you use pretty permalinks.

    I can see the post on the ip/wordpress link.

    Then obviously the post made it into the database, eh?

    It only shows the problem when I tried to comment or check the whole post by clicking on the title.

    Update your permalink structure in the wp-admin area.

  5. trevoryao
    Member
    Posted 6 years ago #

    Problem solved by using the default permalinks.

    Thanks homeycomb. I'm wondering why I cannot use the name and date based permalinks.

  6. homeycomb
    Member
    Posted 6 years ago #

    I'm wondering why I cannot use the name and date based permalinks.

    http://codex.wordpress.org/Using_Permalinks

    First thing I would look at is whether or not you have mod_rewrite available. yes/NO --> take it from there, thise pages go through just about everything. Just remember that you are not going to see any directories created, thats not how it works.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags