WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Developing a new site W/O access to old site (8 posts)

  1. billynair
    Member
    Posted 1 year ago #

    I am fairly new to how WP works, but I have created a few themes in WP so I am not completely new, but quite limited in other parts. I am working on a redesign for http://www.tracyaviary.org. They gave me a copy of the site which I have installed on my own webstie: http://tracy.billynair.com/

    The major problem is that all the links are sent back to http://www.tracyaviary.org, this includes the wp-login.php. I got a copy of their database set up on my server and have access to that, which from what I read you need to make things work.

    In the other posts I have read with my issue the users have access to both the old and new sites. I am guessing I do not need access to their site for mine to work, but I can not find an example of my situation. If you go here:
    http://codex.wordpress.org/Moving_WordPress

    and scroll down about 2/3rds the page to
    If You Want Your Old Site To Still Work
    3. Go back to your OLD site and go to options and change the url (both of them) to that of your new site.

    I run into the problem that I don't have access to the old site, and, I am not going to be running the site from my personal website, I am only developing a new theme and adding a few features like social feeds etc.

    I need to log into the site that is on my website and have the links all point to the files on my site, not the original site. Thank you for any help you can provide.

  2. billynair
    Member
    Posted 1 year ago #

    I used this hack in the wp-login:

    update_option('siteurl', 'http://tracy.billynair.com' );
    update_option('home', 'http://tracy.billynair.com' );

    but read that it is only a hack, and although the pages on the website are redirecting properly, it looks like the database is still not linked correct. The login "lostpassword" page asks for Username or E-mail, and although I am entering both the username and email from the database it says "There is no user registered with that email address." I am guessing, though could be wrong, that it is trying to access the original database with their information, and yes, there is no reason for me to be registered on their site.

    Is there an actual fix to use rather than this hack?

  3. esmi
    Forum Moderator
    Posted 1 year ago #

  4. billynair
    Member
    Posted 1 year ago #

    Nice! I missed that before. I will see if it works, once I figure out how to search the DB

  5. esmi
    Forum Moderator
    Posted 1 year ago #

  6. billynair
    Member
    Posted 1 year ago #

    Yeah, saw that, the problem was that all the posts on my site are just that, posts from my site. there were only 3 and they already had my URL in there.

    Maybe I am trying to solve the wrong problem?
    I am trying to login to the site, and it thinks I am not in the database so I can't reset my password, but I can see my email in the DB. I did transfer the DB from the original site of which I was not a user. I configured this DB to run on my site, that was a pain, but I can not be sure I set up WP after I got the DB working. Is there a way to check this or reset it all together?
    Maybe the database is not linked to WordPress properly?

  7. billynair
    Member
    Posted 1 year ago #

    OK. HUGE problem! I manipulated something and now the actual site is redirecting to my site!! I have NO ACCESS to any of their files, how could this have happened? I was changing everything I could think to change, so there are a lot of places this could have happened.

    Again, I am not well versed in the way WordPress does things, so maybe one of the residual pieces of data gave me access to their site, even if I couldn't log in?

    What file could I have changed to make it do this?
    goto: http://www.tracyaviary.org then hover over the logo, notice it takes you back to my site (tracy.billynair.com)

  8. billynair
    Member
    Posted 1 year ago #

    OK, I got logged into my wordpress. I had the wp-config.php set wrong, so I got that straight and then reset the PW by doing the following:

    http://codex.wordpress.org/Resetting_Your_Password#Through_phpMyAdmin

    I am still concerned that I was able to screw up the original site without any access to any of their files or their database. This is disturbing!

Topic Closed

This topic has been closed to new replies.

About this Topic