WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] I messed it up bad... help with sub directory follies? (3 posts)

  1. iceman841
    Member
    Posted 1 year ago #

    Here is the deal. I created this website and hosted a wordpress site @ dubbertinc.com/wp/

    I wanted to 'go public' and display the wordpress site if i typed dubbertinc.com. I followed the whole tutorial on coping index.php and the .htaccess files to root and updated permalinks. No dice. So i rechecked the options to 'select a different direcotry than the original installation directory in the wordpress options, and no dice. Then i did something stupid and made BOTH of those two text box entries the same thign, (dubbertinc.com) so 'it' (wordpress) thinks my wordpress direcotry is now dubbertinc.com, which its not, and the other box (the site url, is correct.) now i can't log into change this issue and all i get is the horrible green screen.

    Is there an undo button or do i have to scrap the whole site.?

  2. iceman841
    Member
    Posted 1 year ago #

    solution for people wondering.. i'm sure it is obvious to you guys.

    ftp in and edit functions.php in your current theme, add these 2 lines after the php opening tag:

    update_option('siteurl','http://example.com/blog');
    update_option('home','http://example.com/blog');

    save, upload, and once fixed, remove them.

    source:

  3. iceman841
    Member
    Posted 1 year ago #

Topic Closed

This topic has been closed to new replies.

About this Topic