Cloning wordpress to localhost -


i'm trying clone wordpress website on local host carryout small development work , i'm having few issues here. firstly, procedure followed.

  1. installed xampp @ c:\xampp on windows 10
  2. edited httpd.conf in apache config , changed port 8080 making change listen 8080
  3. xampp runs (both apache , mysql). when visit http://localhost:8080, welcome screen
  4. i go http://localhost:8080/phpmyadmin/ , see phymyadmin screen.
  5. i create new database name, database in phpmyadmin , subsequently import database file clone. before importing, replace keywords contain localhost localhost:8080 in database file. database gets imported successfully.
  6. i copy wordpress files hosting server , place them in c:\xampp\htdocs\wp
  7. edit wp-config.php , change following:

    database_name_here database username_here root password_here '' (blank) 

when go http://localhost/wp/ or http://localhost:8080/wp/, http error 404. requested resource not found.

can point going on here?

no need more effort, follow below steps after copy files, change config file & download sql file source.

1. > open sql file & replace "live url" "http://localhost:8080/wp/" ( include http:// & www)
2. > import edited sql on local machine.
3. > open admin first http://localhost:8080/wp/wp-admin
4. > go settings > permalink section & click on save button.

that's it, site working on local machine.

your 404 error may cause of "step 4" reset permalink. http://www.inmotionhosting.com/support/edu/wordpress/wordpress-features/reset-permalinks


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -