• Hi. Have a website https://www.gomanandvan.co.uk which am trying to clone locally in xampp. I am have trouble getting the site working properly the homepage is displaying, but no css, images etc and the links do not seem to work correctly and I cannot load other page to the site. I will make a list of what I have done.

    1. Backed up my database in phpmyadmin clicked export file and have saved it.

    2. Copied my wp-content folder via ftp.

    3. Installed wordpress locally and copied my original wp-content file into it.

    4. Copied the database file through phpmyadmin in xampp, Have created a databse with the same name and imported the file. I have then gone into wp-options and changed the https://www.gomanandvan.co.uk to localhost/gomananvan.

    5. I have then created a new site in dreamweaver and have used the find and replace to change any live site links to localhost.

    The homepage loads up but no styles etc and cannot load any other page on the site even when I type another page manually into the browser

    HAS ANYONE EXPERIENCED THIS?

    IF SO PLEASE HELP BEEN TRYING TO GET THIS WORKING ALL WEEK.

    THANKS FOR YOUR TIME GUYS

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter gomanandvan

    (@gomanandvan)

    Oh yeah sorry. Have created the wp-config file and changed it accordingly

    Try these steps.

    1. Install wordpress locally (a new copy).
    2. Go to the Dashboard of https://www.gomanandvan.co.uk and choose Tools -> Export. Save the .xml file to your hard drive.
    3. Import the .xml file to your localhost wordpress (Tools -> Import).
    4. Download the theme folder from https://www.gomanandvan.co.uk and copy it to wp-content locally.
    5. In the localhost Dashboard preview the theme to see if it looks ok (Do NOT activate it unless it looks ok).
    6. Install any plugins the theme uses / needs.

    See how you get on =)

    Thread Starter gomanandvan

    (@gomanandvan)

    Hi K-Fella. Thanks for your help but still the same. Get object not found 404 error when I click on links to other pages. Its really strange its definetely got to be a link issue somewhere

    Thread Starter gomanandvan

    (@gomanandvan)

    I can access all of my admin. All my posts etc are all there correctly. Its really strange

    Thread Starter gomanandvan

    (@gomanandvan)

    Right. Have the following link in my header

    <link rel=”stylesheet” href=”/wp-content/themes/gmvtheme/style.css” type=”text/css” media=”screen, projection”/>

    Have changed the href=”localhost/gomanandvan/wp-content/themes/gmvtheme/style.css”

    This now displays my stylesheet. How do I change all the links like that one to have localhost/gomanandvan in front of them? Can this be done with find and replace in dreamweaver?

    I think this will then link all my site pages etc if I can solve this.

    Can anyone recommend please

    Thread Starter gomanandvan

    (@gomanandvan)

    Just thought I’d let you guys know have got it working. I had to go into the .htaccess file and change the permalink code. You access the code from your admin settings-permalinks and copy and paste the code into the .htaccess file locally and voila it works.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Backed up Live website having trouble restoring locally in xampp’ is closed to new replies.