Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9179539
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T17:49:20+00:00 2026-06-17T17:49:20+00:00

When I install a backup of my WordPress site on my local MAMP server,

  • 0

When I install a backup of my WordPress site on my local MAMP server, so i can work on it and test new features etc, and I visit ANY link or do anything (including logging in) it always throws me to the actual live website.

For example, if the local address for the site is “localhost/xyz” and I type that in, it takes me to it but anything after that throws me to the actual live site.

So on “localhost/xyz”, if I click on log-in or any page etc, I end up at http://www.xyz.com

This is being VERY problematic because I can’t test any page or work on any page locally.

How can i go about fixing this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T17:49:21+00:00Added an answer on June 17, 2026 at 5:49 pm

    If you go into your database (on MAMP) via phpmyadmin, and check the options table, make sure that the lines for siteurl and home are set to http://localhost/ and not the live site url.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have full control of my server, so I can install any plugins or
I'm trying to install dropbox on my dedicated server in order to backup the
I was doing some work on a wordpress site and another programmer had also
I install ruby via rbenv-installer . When I use irb console, I can use
I have a fairly small MySQL database (a Textpattern install) on a server that
I'm trying to make local development copies for my wordpress blog. I tried first
New install of PostgreSQL and pgAdmin on Ubuntu 11.04 64-bit. On restoring a database
I want to install SharedManagementObjects for SQL server 2012 express on a windows xp
Any advice or gotchas that I should be aware of. I know to install
I'm on ubuntu 12.04 and I have install just installed and setup redis-server using

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.