• languageservicesco

    (@languageservicesco)


    We have had a WP site set up professionally with a custom theme online (www.psa.eu.com). I am trying to copy this to my local computer so I can see how plugins work, make changes, etc. without messing up the online site. There is very little information (that I can find) about moving in this direction. I installed WAMP, backed up the site using wp-db-backup, and I have a copy of the installation copied to my computer with ftp. the local computer is running Windows 7 Ultimate 64 bit.

    I have got to the position where the starting page opens with the URL https://localhost/wordpress/html/. However, if I enter this URL with /wp-admin, I am redirected to the online site dashboard. Alos, the original site has permalinks, which I assume is the reason why the custom menu bar still links to the online site. The other links are ostensibly directed to the localhost address, but clicking on them leads to a “404 not found” page. The search box works, but the results also lead to a 404 page.

    I am a long way from being an experienced WP user, so if I have missed some necessary information, let me know. Otherwise, all assistance gratefully received.
    Kevin

Viewing 2 replies - 1 through 2 (of 2 total)
  • Mark Ratledge

    (@songdogtech)

    You have to find and replace URLs in the database, from psa.eu.com to localhost:
    See WordPress Serialized PHP Search Replace Tool

    The reasons why the links in the menu still go to the online site is that they might be hardcoded rather than dynamically generated. Look in header.php to see if they are.

    You need to specially configure Windows to handle mod_rewrite and permalinks. Go to Dashboard/Settings/Permalinks and set them to default for use on localhost.

    Thread Starter languageservicesco

    (@languageservicesco)

    Thanks very much for the reply. I had made the changes to siteurl and home, but hadn’t made the other changes. That gave me access to the Dashboard, although it is still redirecting (to itself though!) so I could change the Permalinks setting. Now the menu links all work except the “Home” button, which still points to the online site. There are also a few things that don’t work, like a right-side menu that shows child pages for a page, and the events page doesn’t open, but I will see if there is an easy solution to these by asking the developer.

    The funny thing about the Home button still being linked to the web is that I searched the content of all the files in the WP folder and changed the one instance of that link I found, so I don’t know where that is coming from.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘problems migrating hosted site to local computer’ is closed to new replies.