Questions that are too localized (such as syntax errors, code with restricted access, hacked sites, hosting or support issues) are not in scope. See how do I ask a good question?
Closed 6 years ago.
Improve this questionSomehow when I was working with my local dev environment, I have made some mistakes in some php files which I could not figure it out.
So, I have decided to copy the files from the public_html
and paste in my local copy of the WordPress..
Now when I open my website in my local machine, it shows the front page without any problem. But when I click on any other links, to visit any other page, it just kicks me back to
localhost:8080/dashboard
Why this is happening??
I could understand one thing that the permalinks has to be refreshed. But, I could not even access the localhost:8080/mysite/wp-admin
. Is there any other way, that I can refresh the permalinks??
What is the procedure to take a copy of wordpress website from online server to offline??
PS: I use xmapp with sql and WordPress 4.9.8
Closed. This question is off-topic. It is not currently accepting answers.Questions that are too localized (such as syntax errors, code with restricted access, hacked sites, hosting or support issues) are not in scope. See how do I ask a good question?
Closed 6 years ago.
Improve this questionSomehow when I was working with my local dev environment, I have made some mistakes in some php files which I could not figure it out.
So, I have decided to copy the files from the public_html
and paste in my local copy of the WordPress..
Now when I open my website in my local machine, it shows the front page without any problem. But when I click on any other links, to visit any other page, it just kicks me back to
localhost:8080/dashboard
Why this is happening??
I could understand one thing that the permalinks has to be refreshed. But, I could not even access the localhost:8080/mysite/wp-admin
. Is there any other way, that I can refresh the permalinks??
What is the procedure to take a copy of wordpress website from online server to offline??
PS: I use xmapp with sql and WordPress 4.9.8
XAMP has some default files (example files), you should delete that. It's just there to show you that everything works as expected.
With also an example .htacess which redirects you to dashboard. Before you copy and paste your files, you should have deleted everything in C:\xampp\htdocs (your htdocs)
You could install WordPress by yourself, you will need to download WP, create a database and database user and edited the WP config.php file.
You could also just download an Add-on for XAMPP which does this for you: https://www.apachefriends/add-ons.html
And it will install this in a separate folder C:\xampp\apps\wordpress\htdocs which is handy if you want to test other things then only WordPress.
One solution is that you might want to include a .htaccess file to your local instance.