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
Share Improve this question edited Dec 17, 2018 at 18:49 gloom asked Dec 12, 2018 at 16:51 gloomgloom 1851 gold badge3 silver badges12 bronze badges 2- I have one more wordpress installed in xampp in htdocs...Thats works well and only this does not work..How does this question is off topic?? – gloom Commented Dec 18, 2018 at 3:38
- Problem has been solved by visiting the url using the login link directly. And then refreshing the permalinks. – gloom Commented Dec 21, 2018 at 16:33
2 Answers
Reset to default 1XAMPP dashboard
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)
Manual install or automatic
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.