WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] WordPress local installation problem (6 posts)

  1. omniafausta
    Member
    Posted 1 month ago #

    Hi,

    Hope someone can help me with the following.
    For a client I need to make a few changes on his WordPress site.
    The site so far has been done by someone else, so I wanted to install the site locallay (with MAMP) to test some stuff without messing up the live site.

    I have done this before without problems, but now when i got to local:8888/sitename it redirects to local/sitename where of course it cannot find the site.

    Any ideas as to why this happens and how to resolve this??

    thanks!!

  2. omniafausta
    Member
    Posted 1 month ago #

    okay, I thought it might be an .htaccess issue, so I turned my invisable files on visible, turns out the .htaccess file didn't come along when I downloaded the files.
    So I downloaded the .htaccess, and without changing anything there, now going to local:8888/sitename in firefox results in going to the live site, and in Safari it looked to be going alright.

    So I thought: okay I'll work in Safari... BUT...
    when I tried to log in local:8888/sitename/wp-admin), it went to the live site as well...

    hope anyone has a tip?

  3. Web Unity Design
    Member
    Posted 1 month ago #

    Hi,

    Have you imported the database directly to your local machine from the production site? The URL's will still be pointing to the live site and not localhost if that's the case.

    Regards,

    Dylan

  4. omniafausta
    Member
    Posted 1 month ago #

    okay, found it (somewhere on the forum, sorry lost the link)

    But in phpmyadmin in the table wp_options I had to change the URL in both siteurl and home.

    Looks like it works now....

  5. omniafausta
    Member
    Posted 1 month ago #

    and thanks Dylan, just saw your post, and indeed that was the case... took me a while to find where to edit that, but found it

  6. Web Unity Design
    Member
    Posted 1 month ago #

    Your welcome glad I could help!

Reply

You must log in to post.

About this Topic