Forums

[resolved] Moved Wordpress index.php And It All Fell Apart (8 posts)

  1. shaun.baer
    Member
    Posted 1 month ago #

    So, I have been running wordpress in a sub directory while i worked on the site. Last night, I "flipped the switch", and now the site looks like this. I moved the index.php & the .htaccess file, and i don't know what I did wrong. My only idea is that maybe I changed the url for the subdirectory, not for the index.php option....
    I thought this would be the least of my worries, I'm new to Wordpress & php, so any help would be rad.

  2. Otto42
    Moderator
    Posted 1 month ago #

    Looks fine to me. I assume you fixed it?

  3. shaun.baer
    Member
    Posted 1 month ago #

    Yes, I did!

    But now I am having problems logging in, it does not recognize my admin account. I went to mysql and saw that the passwords were changed to something crazy, so I tried to reset one, and it is still not working. Any ideas?

  4. faevilangel
    Member
    Posted 1 month ago #

    the passwords are hashed, so you can't change them in the sql without poutting the hasing back on (or md5 or whatever lol)

    go into your db, and go to the options table and change the url in there,

    when you move your site you need to change the db or the config.php so the script knows where to find the other files

  5. shaun.baer
    Member
    Posted 1 month ago #

    Maybe I should go into more detail. As per this page, I added

    define('WP_HOME','http://funnelpages.com');
    define('WP_SITEURL','http://funnelpages.com/wordpress');

    to the wp-config. I think this is right, all of the files for WP are in the wordpress sub-directory.

    Apparently someone else can log in to their account on the site, but my admin account still won't go.

    Thanks for any help you can give!

  6. Otto42
    Moderator
    Posted 1 month ago #

    If you messed with the password field, then you likely did it wrong. You need to fix the password manually.

    Resetting Your Password

  7. faevilangel
    Member
    Posted 1 month ago #

    go into your db, go to wp_options, then the browse the table and check the siteurl is right, it should be

    http://mydomain.com/

  8. shaun.baer
    Member
    Posted 1 month ago #

    Ok, got it figured out!

    I had to set the drop down setting to MD5, thanks for the link Otto!

    Cheers, and thanks to everyone, Im actually surprised how fast I received help!

Reply

You must log in to post.

About this Topic