I'm trying to have a copy of my WP site from live server to localhost and have followed all the steps on tutorials I could find, but I seem to get a 404 error at the end.
I am using XAMPP and Windows 10
Steps that I have taken:
Backed up my entire WP folders from hostgator and put in my sub directory in htdocs.
exported a .sql file from phpmyadmin.
imported the .sql file to my local phpmyadmin.
change the url to localhost/myfolderrootname in wp_options
config.phpto store the new database credentials
I was told to delete the
.htaccessfile. I did that too but nothing changes.
The local copy of the site actually loads, the theme is there and it displays a custom 404 that defaults with the theme. However going to any pages such as
localhost/myfolderrootname/websitepage it displays "Object not found! and 404 error". Literally out of options here guys and would appreciate any help!