WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Directory confusions (5 posts)

  1. wmrubel
    Member
    Posted 7 years ago #

    I have a working installing of WP in directory /xx/.
    I want to move the whole thing to my root directory.
    I have followed the instructions, but things did no quite work out so I decided to try a different approach.

    1. Backup existing wp database
    2. create a new database
    3. create a new wp installation in the root directly

    here is the trouble.
    While I get a home page in the root directly, every link takes me to /xx/xyz.php. Why? I am doing a clean install.

    When I try to go to mysite/wp-admin/ I get a Firefox error message saying that the server is redirecting the call in a way that can never be satisfied.

    Thank you

  2. Samuel B
    moderator
    Posted 7 years ago #

    Did you update your permalinks?

  3. wmrubel
    Member
    Posted 7 years ago #

    I started over. I emptied the database and reinstalled wp. The installation went fine. My own theme works fine. I can add material and everything is fine. I made .htaccess writeable and updated the permalinks.

    Next. I imported the data I had exported from my other installation of wp. Perhaps the problem is with the backup plugin that I am using. I am using "On-demand backup of your WordPress database. By Scott Merrill."It seems that something is imbedded in the backup that has the direcory path to my /xx/ directory hard wired. Although this makes no sense to me.

    In any case, thhis is now when chaos begins. For example, if, with the new data in the database I try to update permalinks at:
    http://williamrubel.com/wp-admin/options-permalink.php
    I get this error message.
    The page isn't redirecting properly

    Firefox has detected that the server is redirecting the request for this address in a way that will never complete.

    * This problem can sometimes be caused by disabling or refusing to accept
    cookies.

    Thank you

  4. moshu
    Member
    Posted 7 years ago #

    In the old database you have the two URI values (usually set in the Options > General) probably pointing to the old address/location.

    Check it by following this tutorial:
    http://www.tamba2.org.uk/wordpress/site-url/

  5. wmrubel
    Member
    Posted 7 years ago #

    Dear Moshu:

    Thank you. Thank you. Thank you. You guided me in the right direction. When I opened the new installation with the data from my old installation the blog address setting from the options was brought along with the other data.

    I followed your suggested link and from that was easily able to change the incorrect value in the Options field.

    I will add to what you have suggested. Once I did that I was able to get back into the options page through WP. I had only been able to change one value for the directories -- wp root and blog -- in MySQL. I was able to change the other one manually.

    Also, the password that I needed to get back into my new installation was not the password that WP assigned --but rather the password to the old installation. So, using the old passoword I got back in, and changed the password!

    These were minor bumps on the road. I had spent hours and hours and hours doing stupid things trying to figure out what I was doing wrong. So, once again, thank you for identifying what I had done wrong in a way that let me solve the problem.

Topic Closed

This topic has been closed to new replies.

About this Topic