WordPress.org

Ready to get started?Download WordPress

Forums

Change of directory (3 posts)

  1. imaginaryme
    Member
    Posted 8 years ago #

    I have recently finished my test site which I did under a sub folder. Rather than copying everything up the hirachy of folders, I simply had my URL address's directory pointed to this new directory. Pages work great, but the admin pages don't show up (it tries to redirect to the old page). Do I need to change the database information or something? If so, how do I go about doing that?
    old: http://www.imaginaryme.com/imaginaryMe/blog/
    new: http://www.imaginaryme.com/blog/

  2. You will need to enter the MySQL database via phpmyadmin and manually change the siteurl and home options to their correct values. Follow this guide:

    http://www.tamba2.org.uk/wordpress/site-url/

  3. mxnhpfreak
    Member
    Posted 7 years ago #

    Oh GOD! You saved my life! I was just about to open a new thread, but then I decided I'd better check if there was already a topic that might help me out.

    Just for the record, I want to say what was my problem, so that if someone ever has a similar problem, they might find the solution in here:

    I'm running wordpress in my site for newsposting, everything was great, but for some odd (and very stupid) reason, I changed the "WordPress address (URI)" and the "Blog address (URI)" from the normal http://www.mydomain.com to http://www.mydomain.com/index.php (I know... it was just wrong!)

    Why would I do that? I don't know... it's a long story, but the point is that I changed it and after that, I couldn't do anything from the admin panel! I mean, I couldn't even enter it! And my site looked weird (it didn't have access to my stylesheet)... Apparently, I managed to get everything under the "index.php/" directory... *sigh*

    I was terrified, but then I took a look to that guide macmanx mentioned in the post above and I manage to change the values in the database and now everything's back to normal.

    Well, I wanted to thank you and to tell my 'story' in case someone else has a similar problem later on (although what I did was terribly stupid...)

    THANKS! XD

Topic Closed

This topic has been closed to new replies.

About this Topic