Moving from subdirectory to home directory (7 posts)

  1. jsirota
    Posted 7 years ago #

    For a while now, I've had my wordpress installation in a subdirectory of my website (in /blog).

    I recently decided that I should use WordPress as a platform for the entire site. In other words, I'd like it to appear when people visit /.

    Of course, there are some permalinks out there from before the move, which refer to /blog. I was hoping that there was a way that these would still continue to work.

    So I searched the codex and found this very useful document: http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory

    But it outlines the converse scenario, someone who previously had the software installed at the root but wants to move it into a subdirectory. Still, I followed the instructions where appropriate and all is fundamentally working.

    However, some things still don't. For example, it seems that I still have to visit /blog/wp-admin in order to administer the site. And I previously had the blog linked at wordpress.com, but now some links there (like the one in the center of the home page, that lists my blogs) go to /blog/wp-admin, but others (like the "My Dashboard" link in the top-left bar) go to /wp-admin ... and those don't work (I get a 404).

    How do I clean all of this up?



  2. jsirota
    Posted 7 years ago #

    Followup: I tried a bunch of different search terms and found a few threads on the forum where people did the same thing, but had different issues.

    Is there a tutorial anywhere on how to get this all working totally smoothly? I'd really like to not have any leftover weirdness after the move, so that future upgrades won't get confused.

  3. moshu
    Posted 7 years ago #

    1. I still have to visit /blog/wp-admin in order to administer the site.
    That's correct. And it will be like that because there is your WP install.

    2. You should remove the domain redirect to your wp.COM blog. TAnd be aware, it can take 24-72 hrs to propagate. Actually, this domain mapped to your wp.com blog is a completely different issue, but if not solved, nthong will work on your installed WP. By "different" I mean it has nothing to do with your giving_WP_its_own_directory process.

    3. Start the cleanup with totally separating your self hosted blog, the wp.com blog and your domain.

  4. jsirota
    Posted 7 years ago #

    I never had a wp.com-hosted blog. I linked my self-hosted blog to my wp.com account in order to get the stats plugin to work.

  5. moshu
    Posted 7 years ago #

    That's completely irrelevant in that case. Forget it, deactivate it, delete it... do whatever you want, just don't bring it into this mix. Or rather mess.
    That's a plugin and it doesn't really matter it this point what that plugin is doing. And just for the record, YOU did not linked your blog to wp.com. The plugin did.

  6. jsirota
    Posted 7 years ago #

    Thanks for the help. I'm not sure why the "sigh." I'm not a plugin developer, I'm not a php developer, etc, so I don't really know how this works. I'm just a user, and I'm trying to get this stuff to work.

    I thought I linked it myself (per the plugin setup instructions), but I confess that I don't really remember.

    So what exactly am I supposed to deactivate, and how do I do it? My only concern is that there's no leftover weirdness to my setup such that someday in the future, some assumption built into wordpress or one of the plugins won't get confused by my setup. Ultimately, I want it to look as if when I initially installed it, I installed it in a subdirectory but have it hosted at the root. It seems that converting from a subdirectory to the root has confused SOMETHING. If the only thing I've confused it wordpress.com, I'm fine with that. But if I've confused wordpress itself, that would concern me more.

  7. jsirota
    Posted 7 years ago #

    One more question/issue -- thanks for all the help.

    I just noticed that my old RSS feed URL (http://mysite.com/blog/feed) no longer works. Therefore, people who were subscribed to that feed won't see any new posts.

    Any way to either keep it working, or if not, to send just one more post to it that tells people to subscribe to the new feed (http://mysite.com/feed)?

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.