Remove WP_HOME and WP_SITEURL from your wp-config.php, and then check in the wp_options table for the values “siteurl” and “home” and change them to http://localhost/sitefolder. It must be an absolute URL.
The WP Codex has more information about changing the site URL.
Related Posts:
- Doubts about how to migrate WordPress from local to online server using Search and Replace Tool script
- Forbidden localhost error and error establishing database
- After moving wordpress some files still point to old directory
- How to work locally on a copy of my wordpress?
- Trouble running local WordPress in Google App Engine
- Redirect loop error on wordpress landing page on localhost
- Redirect to another page using contact form 7? [closed]
- WordPress installation from live site to localhost
- How can I deploy my InstantWP site to a live website?
- How to effectively handle the problem of installing WordPress locally for each new project?
- I moved my WordPress site to the main directory and now I can’t access my admin
- Image link issues after importing a database backup to my local web server
- WordPress Skeleton installation
- Why is WordPress’ installer “phoning home” during the install script?
- Transferring from “Populate” CMS to WordPress
- How to install multiple wordpress site on localhost
- What is the “Quick and Dirty” way to transfer WordPress installation?
- Upload a website on WAMP and modify it
- Error on update translation
- WordPress Installation
- Incorrect Blog Root
- Installing WordPress into a user directory without any admin privileges
- Problems in migration of WordPress site from local server to the online server
- How to install MinGW 64 on windows 10
- PackagesNotFoundError: The following packages are not available from current channels:
- Android Fastboot devices not returning device
- How can I convert my Java program to an .exe file?
- Changing the wp db prefix after installation?
- Things to take care when moving from hosted wordpress to self-hosting
- the correct order of manual install WP and SSL on server
- Plugins to clone wordpress site and move to another url
- wp core install database connection error
- Steps to debug on a blank screened wordpress install
- Installed successfully; home page still redirects to install.php
- 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
- Switching from editing on directly on remote server to PHPstorm local development?
- WordPress Admin Interface not styled properly
- Error migrating from live website to localhost
- Quickest Way Besides FTP to Upload WordPress Files to a Web Server?
- Moving to directory creates path problems.. how to solve?
- How to use if condition to change $table_prefix in wp_config.php
- Export all content from wordpress
- Import live site to local setup without access to live site
- “The package could not be installed” when updating plugins, themes, and core files on WampServer
- I have a desktop and a laptop: What’s the best way to move between local installations?
- Change WordPress directory
- wp-cli installation
- Page not found error shown while installing wordpress on IIS server
- How to customize WordPress Plugin installation?
- How to create wordpress install template/image?
- How to first edit in local WordPress editor on page and the add code?
- Cannot complete migration on LAMP
- What happen after new plugin get installed in term of permissions?
- Allowing WordPress from non-public address/domain
- Migrating to local server
- Why I have this error when I try to install this old blog on my local webserver?
- how to migrate wpmu from one host to the other?
- Migrating Multisite with WP-Cli and/or Search-Replace-DB
- PuTTY is glitching out when I try to install wordpress
- Can I install a WordPress site locally from a tar.gz file?
- 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
- Uncaught Error: Class ‘Redis’ errors on a site I’ve transfered to new hosting
- 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?
- Image Sizes/Thumbnails not generating on local install Ampps
- EC2 WordPress install asks for connection info when auto-updating
- Database migration issues – Error #1046 No database selected
- Installing plugins on IIS-hosted site [closed]
- Should I use two single WordPress installations because of SEO?
- wordpress icons and gui not display while installing wordpress http://server_ip /wp-admin/install.php
- wp-cli setting home and siteurl to site.tldtld (double TLD)
- My wordpress doesnt show up
- Error during installation
- Move wordpress files from one pc to another pc contents showing error
- Accidentally re-installed wordpress
- Reporting Broken Theme event though upload was success
- Fastest way to install a multisite?
- WP 5-minute Install Error: “Waiting on Localhost…” —why does this happen?
- How to transfer /wordpress folder from one Mac to another
- Disable redirect to install.php
- Restoring .sql backup results in “Error establishing a database connection”
- Moving site made easier
- New WP installation due to language issues
- WP installed is asking to install if typed domain.com
- How does a WordPress installation become ‘alive’?
- How to create a child theme without losing changes made to parent
- WordPress 4.1 update broke theme
- Change a web programmed in ASP.net to WordPress from scratch in the same Hosting
- Where to store the images of a custom WordPress theme?
- New WP installation on Hostgator domain but not working
- Correct folder & file permisson for WordPress
- Host Php script from codecanyon on wordpress