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 https://localhost/directory
- Using Search Replace DB Master I changed all of the occurrences inside the database from https://nameofthewebsite.com, https://nameofthewebsite.com, https://www.nameofthewebsite.com, https://www.nameofthewebsite.com to https://localhost/directory
I tried using the website after step 6 and the homepage looks perfect, but the rest doesn’t work. Neither using links or directly trying to go to an internal url will show me the page. 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 and even pages that doesn’t exist, everything will be redirected.
I ran out of ideas… What can I do? Some help would be appreciated, please.
- The topic ‘Migrated remote to local, all but the homepage is redirected to xampp dashboard’ is closed to new replies.