• I’m installing WP for the first time. It’s up and running, I’ve imported all my old entries from MT, everything is going fine- except that I can’t get the blog to appear in my main directory. WP is installed in https://www.lodenocity.com/blog, and I want the blog to appear at https://www.lodenocity.com. I configured this in Options, but it didn’t do anything. Anyone know what’s going on?
    And, incidentially, does WP have any features that help with broken permalinks? My old entries had ..htm extensions (extra dot due to a mistake on my part), and the new ones obviously won’t. Also, they’ll be in a different subdirectory (/blog instead of /mt), which makes me think I’m out of luck.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter loden

    (@loden)

    On further clicking around, it seems that everything points to my main directory, like I want it to, but nothing is actually there. Anything linked to from my index page, like comments, give me a 404 because the link points to the main directory.
    Did I miss a step somewhere? Am I supposed to manually move a group of files?

    Yes, you missed a step. You moved your index.php from https://www.lodenocity.com/blog up one level, right? Now you need to edit one line in it:
    Change require('wp-blog-header.php'); to require('/blog/wp-blog-header.php');. Plus your change in the options. This should make it work.
    [Note: This info used to be more readily available when I installed WP 6 weeks ago. The documentation project is currently preparing a lot of improvements, so that’s maybe the reason.]

    Presumably you then need a redirect from / blog to the new domain. How would someone do that please ?

    I’m having the exact same problem, both with index.php and my .htaccess file, which I’d like to use to rewrite the permalink structure.
    Any help available?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Index file in different directory’ is closed to new replies.