Update your wp_options table.
Look for siteurl and home and change their values to point to your localhost, that is, http://localhost/mylocalsite. This should be enough to make your site work again.
You don’t need to find and replace all instances where the old url is present. For example you should not change the guid of your posts.
Alse read this post on Moving WordPress.
Related Posts:
- Moving WordPress from live to local server
- How to work locally on a copy of my wordpress?
- How to effectively handle the problem of installing WordPress locally for each new project?
- Forbidden localhost error and error establishing database
- How to install multiple wordpress site on localhost
- Doubts about how to migrate WordPress from local to online server using Search and Replace Tool script
- Homebrew install specific version of formula?
- How to install MinGW 64 on windows 10
- Conda version pip install -r requirements.txt –target ./lib
- Conda version pip install -r requirements.txt –target ./lib
- PackagesNotFoundError: The following packages are not available from current channels:
- How can I create an MSI setup?
- Android Fastboot devices not returning device
- How can I convert my Java program to an .exe file?
- Changing the wp db prefix after installation?
- Installation problems on a domain-name-less server
- Things to take care when moving from hosted wordpress to self-hosting
- the correct order of manual install WP and SSL on server
- How do I setup a WordPress site on a server before the domain is ready?
- wp core install database connection error
- Steps to debug on a blank screened wordpress install
- Installed successfully; home page still redirects to install.php
- One WordPress install serving multiple virtual hosts
- How to import WP XML file automatically on installation?
- Trying to install WordPress on WSL Windows 10, and running into issues with wp-cli and “wp db create”
- Cannot access WordPress install on subdirectory of drupal site
- WordPress package configuration in Ubuntu Server?
- Programatically Creating Initial WordPress Site
- Is there any plugin hook that I can latch onto once a site is freshly installed?
- No configuration file found and no installation code available. Exiting
- Quickest Way Besides FTP to Upload WordPress Files to a Web Server?
- Moving to directory creates path problems.. how to solve?
- Unable to install wordpress theme without ftp user & password
- WordPress installation does not get completed in WAMP server
- Novice WordPress Installation issues
- Plugins try to install in old location [closed]
- You appear to have already installed WordPress. To reinstall please clear your old database tables first
- Change WordPress directory
- Reset generated wp-config.php with wp-cli
- Automate specific steps on WordPress install
- “Deprecated: mysql_connect()” error when installing Roots Bedrock
- Page not found error shown while installing wordpress on IIS server
- How do I install more than one WordPress blog on EC2?
- How to customize WordPress Plugin installation?
- How to create wordpress install template/image?
- Why does my localhost/wordpress not have a Link to Login Page
- WordPress composer issues
- Install WordPress with custom directory layout without breakting media upload
- What happen after new plugin get installed in term of permissions?
- WordPress in subfolder dont work
- Other than WP-CLI, is there a way to install WordPress via the command-line?
- Install with docker – can’t access port
- WP Installer Redirects to /wp-admin/core/install.php
- Installed WordPress Location
- Redirect loop error on wordpress landing page on localhost
- Redirect to another page using contact form 7? [closed]
- PuTTY is glitching out when I try to install wordpress
- Can I install a WordPress site locally from a tar.gz file?
- How can I deploy my InstantWP site to a live website?
- All links in WP blog redirect to main non-WP site
- Local Installation: install.php offered to download instead of running
- WordPress manually installed on a remote server
- WordPress is already installed
- Installed WordPress without configuration screen
- WordPress System Requirement for Older Versions?
- On install, automatically create page and set it as front page
- Create a development subfolder for my WordPress website
- What’s the best way to install WordPress?
- EC2 WordPress install asks for connection info when auto-updating
- Moving from subdirectory and subdomain -> root
- Creating a sub folder inside a root installation?
- Installing plugins on IIS-hosted site [closed]
- WordPress 3.1 Install Error
- Disable creation of default content during installation
- Transferring from “Populate” CMS to WordPress
- Should I use two single WordPress installations because of SEO?
- How to recreate a WordPress site
- wordpress icons and gui not display while installing wordpress http://server_ip /wp-admin/install.php
- Install wordpress without affecting clickfunnels
- wp-cli setting home and siteurl to site.tldtld (double TLD)
- My wordpress doesnt show up
- Error during installation
- Accidentally re-installed wordpress
- Reporting Broken Theme event though upload was success
- Fastest way to install a multisite?
- How to install WordPress on root domain and Php script on subdomain?
- 2 domains 1 WP instalation in Cpanel
- Disable redirect to install.php
- db.php, is it a legit file [closed]
- Error on update translation
- Moving site made easier
- New WP installation due to language issues
- WP installed is asking to install if typed domain.com
- Problems in migration of WordPress site from local server to the online server
- How does a WordPress installation become ‘alive’?
- WordPress 4.1 update broke theme
- New WP installation on Hostgator domain but not working
- Correct folder & file permisson for WordPress
- Host Php script from codecanyon on wordpress
- WordPress with Bedrock on Pantheon. Is it dangerous to set false on DISALLOW_FILE_EDIT and DISALLOW_FILE_MODS consts?