• Resolved ElizabethK816

    (@elizabethk816)


    Hello, thanks for taking a moment to read this!

    I purchased the domain elizabethkirke.com a couple of months back, got a WP account, and decided to install the blog as elizabethkirke.com/blog, with the intent of designing a static main page at elizabethkirke.com which would, among other things, link to my blog. It’s been a couple of months and my .com is still just the generic empty page from my domain host, which makes it look like nobody owns the site.

    Today, while browsing my WP Dashboard, I saw a place where I could edit the URL. I figured this might be a sort of temporary fix until I get around to doing the HTML for a main page, so I deleted the /blog from the link and hit save. Bam, 404 error.

    After a lot of browsing around, I seem to have done exactly this by mistake – http://codex.ww.wp.xz.cn/Giving_WordPress_Its_Own_Directory

    The problem is, that seems to be how to move WP to its own directory, but I deleted /blog from the URL and made it just elizabethkirke.com so I’m not entirely sure that I’m moving it another directory.

    The other half of the problem is that I’m second guessing doing this. I’d rather just go back to elizabethkirke.com/blog

    But, now my dashboard “doesn’t exist” and I don’t want to start editing index.php or anything until I’m sure I won’t screw it up.

    How can I change it back to /blog and bring back my dashboard and blog?

    Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • There are a few different ways you could get your site back up.

    You will have to request FTP access from your host, unless you have it already, and try adding the following lines to your wp-config.php

    define('WP_HOME','http://elizabethkirke.com/blog');
    define('WP_SITEURL','http://elizabethkirke.com');

    Or if you have access to your database (probably via cPanel or Plesk) you could search and replace for the /blog path to go to /

    Thread Starter ElizabethK816

    (@elizabethk816)

    That did it! Thank you!

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

The topic ‘Edited Directory Path by Mistake’ is closed to new replies.