make a backup of your SQL database for the site and try running these queries manually on the database through php myadmin. change the URLs to match your site http://example.com/blog
As always, be careful when running queries on the database
UPDATE wp_options SET option_value = replace(option_value, 'http://www.oldurl', 'http://www.newurl') WHERE option_name="home" OR option_name="siteurl";
UPDATE wp_posts SET guid = replace(guid, 'http://www.oldurl','http://www.newurl');
UPDATE wp_posts SET post_content = replace(post_content, 'http://www.oldurl', 'http://www.newurl');
UPDATE wp_postmeta SET meta_value = replace(meta_value,'http://www.oldurl','http://www.newurl');
Related Posts:
- How to completely remove Python from a Windows machine?
- [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
- Initialization Script for “Standard” Aspects of a WordPress Website?
- Populate content on install
- Automatically enable custom theme, plugins and default content on installation?
- Are there any downsides to installing WordPress on Windows versus Linux?
- Create a custom WP install with plugins, theme etc already installed?
- Install and configure WordPress while old site is still active
- How do I install two versions of WordPress on 1 server?
- How to Check the Directory Where WordPress is Installed?
- After moving wordpress some files still point to old directory
- URL to download latest version of WP for other languages than English
- Custom WordPress Installation
- Shortest possible shell script to install WordPress on Nginx server?
- Repeatable configuration package
- Can WordPress be installed at the root level, if a homepage called index.php already exists?
- Install wordpress in backend with Existing html website alive
- Moving to a new domain in the same server
- When WordPress Does Not Provide an .htaccess File for New Multisite Sites because of CPanel Fantastico Auto-Installer?
- InfiniteWP installation fails – CONFIGURABLE MAX EXECUTION TIME DISABLED
- Multiple sites/domains on one database
- Sharing one WordPress installation between several “sites”?
- Backup blog posts only
- How to use if condition to change $table_prefix in wp_config.php
- Importing wordpress. xml file on new installation
- Can my site use two different WordPress installs for different pages?
- Can I clone WP to another directory on the same server?
- How to download WordPress 4.2.0
- Should I delete automatically-created files before installing WordPress?
- How to work locally on a copy of my wordpress?
- When I try to install VersionPress, it tells me, “The package could not be installed. No valid plugins were found.”
- Change WordPress directory
- Missing wp-load.php on new install
- Use new domain name on previously installed files of wordpress
- No option to update WP in client’s backend
- wp-cli installation
- Page not found error shown while installing wordpress on IIS server
- Installing wordpress on Parallels plesk 9.5.3
- Multi site clarification
- How can I completely disable a WordPress installation?
- WordPress database error on (fresh) reinstall
- wp-cli fails on installing to subdomain
- How to edit an existing wordpress.org site
- Installing WordPress in a subdirectory
- how to return the wordpress path to the new site
- Version 3.04 or 3.5?
- WordPress installation from live site to localhost
- Basic installation questions
- Can I install a WordPress site locally from a tar.gz file?
- 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?
- WSOD right after install
- WordPress System Requirement for Older Versions?
- How to install WP alongside my existing site at a sub-directory (bradydjohnson.com/blog)?
- Forbidden localhost error and error establishing database
- What are the pros & cons of a new wordpress installation vs fixing one that already exists?
- Installing WAMP and WordPress: Visual Studio 2013 or 2012? [closed]
- I moved my WordPress site to the main directory and now I can’t access my admin
- EC2 WordPress install asks for connection info when auto-updating
- WordPress Skeleton installation
- Things to take care before installing wordpress Manual v/s Softaculous
- Moving from subdirectory and subdomain -> root
- Creating a sub folder inside a root installation?
- Why is WordPress’ installer “phoning home” during the install script?
- Powering only a subfolder with WordPress on a LAMP stack with an nginx reverse proxy
- Site blocked by WebSense on fresh WP Install
- WordPress 3.1 Install Error
- Disable creation of default content during installation
- How to recreate a WordPress site
- Fresh installation of WordPress on CentOS produces critical error during installation
- Install wordpress without affecting clickfunnels
- More than 5 time my Website show this issue
- Delete all php files except WordPress core files?
- Installation failed: Destination folder already exists
- Installing WordPress to root directory with existing static site. Concerns?
- How to install WordPress on root domain and Php script on subdomain?
- First time installing WordPress. Cant Access
- Fatal error: Class ‘Requests_Utility_CaseInsensitiveDictionary’ not Found in WordPress
- 2 domains 1 WP instalation in Cpanel
- What is the “Quick and Dirty” way to transfer WordPress installation?
- Upload a website on WAMP and modify it
- How to update WP-CLI on Windows via Composer?
- db.php, is it a legit file [closed]
- CPU spikes to 100% site doesn’t load, VPS crashes after moving site
- Have non-wordpress page as root (and blog elsewhere)
- Moving site made easier
- New WP installation due to language issues
- WordPress Installation
- Incorrect Blog Root
- Installing WordPress into a user directory without any admin privileges
- Doubts about how to migrate WordPress from local to online server using Search and Replace Tool script
- Moving from one WP site to a new WP site incrementally
- Are two installations of WordPress on the same domain (no subdomains) ok?
- I can access to my wordpress page at work and via cellphone, but when I get home, I can’t access to the website
- Multiple independent wordpress installs – 1 dedicated server – individual dedicated domain for each install. What is the best way to achieve this?
- WordPress desktop app shows blank screen
- Correct folder & file permisson for WordPress
- Host Php script from codecanyon on wordpress
- Backend working but not front
- Installing wordpress into the same directory as existing static html website