• mattisb

    (@mattisb)


    I recently tried to migrate my wordpress.com to a self-hosted, and I am infinitely confused & frustrated.

    ALL of the permalinks are broken – the catagories, tags, pages, attachments, etc. nothing is linked properly. It says that it uploaded properly and I have the permalinks set to year/month/day/name, but it’s like the folder structure wasn’t created under the domain. E.g. blog.domain/year or blog.domain/category or blog.domain/tag don’t exist. What is going on or what am I doing wrong?

    Thanks in advance

Viewing 5 replies - 1 through 5 (of 5 total)
  • esmi

    (@esmi)

    WordPress doesn’t use a folder structure. The base urls and your custom permalink structure is stored in your database. Try resetting your custom permalinks back to the default setting. If that works, then try reading Using_Permalinks before setting a custom permalink structure back up again.

    Thread Starter mattisb

    (@mattisb)

    Thanks again esmi,

    I went into mySQL database to actually see where the heck everything was located. For whatever reason, when I imported the wordpress.com blog, it imported them under the default permalink structure: i.e. blog.com/?p=123, even though I specified the year/month/day structure. I changed the permalink structure to the default setting and now everything works. But the question remains, how do I switch everything over to the year/month/day/title structure like I had on my wordpress.com blog so that all the URLs match?

    Thanks again

    esmi

    (@esmi)

    it imported them under the default permalink structure

    That’s correct. WP stores the base urls. The pretty permalinks are then pretty much applied on top of those basic urls using re-rewrites.

    Have you set up a custom permalink structure? If so, did you get any messages about making .htaccess writeable?

    Thread Starter mattisb

    (@mattisb)

    I opened up a help ticket w/ my host & they tell me that I can’t do a re-write on my windows based hosting plan….I didn’t get any messages about making .htaccess writable. in the WP control panel I played around w/ teh custom permalink structure, but it obviously doesn’t modify the database or .htaccess file. Is that why I’ve been having so much trouble? because the .htaccess file is unwritable? Essentially I have to modify the .htaccess file, correct?

    esmi

    (@esmi)

    If you’re using a Windows server, you probably won’t have an .htaccess file. See http://codex.wordpress.org/Using_Permalinks#Permalinks_without_mod_rewrite

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘WP folder structure’ is closed to new replies.