• Resolved KirillTaylor

    (@kirilltaylor)


    Hello,

    I’m resorting to posting here after my search have reached a dead end. I’ve downloaded my client’s WP website to my localhost. I’ve changed wp_options, wp_posts.post_content AND wp_links (although I didn’t have any stored in the DB?). I’ve tempered with .htaccess and enabled mod_rewrite module on my XAMPP 1.8.2 installation.

    The main page loads perfectly, but anything beyond the point https://localhost/sitename/ redirects back to https://localhost/xampp/splash.php.

    Help me, WP Kenobi, you’re my only hope!

    P.S. I’ve done all the steps in the codex docs but to no avail.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Scratch that database, create a new one with the same name, import the client site then:

    – edit ONLY siteurl and home fields in wp_options with the local url (you can then access the local home page and admin to see that things work)
    – run this script to update all links, including those stored as serialized strings:

    https://interconnectit.com/products/search-and-replace-for-wordpress-databases/

    Once that is done, just re-save Permalinks.

    Also, “un-tamper” the .htaccess ??

    Thread Starter KirillTaylor

    (@kirilltaylor)

    Sorry for the late reply, thanks for the solution ??

    (I was under the impression that WP forums notify me of replies? no biggie)

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Migration of a WordPress site to Localhost’ is closed to new replies.