Migrated remote to local, all but the homepage is redirected to xampp dashboard
-
I had a website around 3 years ago and it’s now offline, nevertheless, I stored all of the files and now I’m trying to install it in local to make some changes and make it go online again in the future. After the migrating process, only the homapage works and every other page I try to access is redirected to the xampp’s dashboard.
This are the steps I followed to do the migration, in order:
- Downloaded the files and database from the old remote website
- Copied the files into a new directory inside xampp’s htdocs
- Created a new empty database in phpmyadmin
- Imported the old database into the new empty database I just created
- Changed the wp-config.php file to make it match with the new database (Name of the database, user=root, pass=empty)
- Changed the siteurl and home inside the _options table’s database. It went from https://nameofthewebsite.com to http://localhost/directory
- Using Search Replace DB Master I changed all of the occurrences inside the database from http://nameofthewebsite.com, https://nameofthewebsite.com, http://www.nameofthewebsite.com, https://www.nameofthewebsite.com to http://localhost/directory
I tried using the website after step 6 and the homepage worked perfectly, but the rest didn’t, so I took an extra step and modified the database as told in step 7. Still doesn’t work.
After all of this, the main page works perfectly, I can even see the images, but any other page will be redirected to the xampp’s dashboard. Posts, pages, the login page, anything will be redirected rather than the homepage.
I ran out of ideas… What can I do? Some help would be appreciated, please.
-
Hi,
This isn’t something we can help with here at WordPress.com. We can only assist with sites that are hosted on our servers. Not ones hosted at other hosts or on a localhost setup.
You pay be looking for the WordPress.org community support forums:
https://wordpress.org/support/forums/
For more info on the difference between WordPress.com (the host) and WordPress.org (the open-source software), please see this page:
WordPress.com vs. WordPress.org
Let us know if anything is unclear or you have any further questions.
-
I actually though I posted in wordpress.org… that’s my bad, sorry! And thanks for the response
- The topic ‘Migrated remote to local, all but the homepage is redirected to xampp dashboard’ is closed to new replies.