1, Login link: http://***.com/wp-login.php
2, I moved my website on a online hosting server to my local server on my computer. It always went to its online website. Later I changed ‘***.com’(online url) to ‘localhost’ in the values of a few records in the option_value column of the wp_options table and and meta_value column of wp_postmeta table. It shows it’s not need to change all of them. It works fine now.
3, If it’s alway redirected to dashboard, check config.php.
Add the two lines or change related lines:
Then visit http://localhost/yourwebsite/wp-admin.
Try to update wordpress:
1, need ftp username and password to local XAMPP server.
It’s said on the terminal run this command as below, it will show it.
But it shows: You need to be root to perform this action.
2, Go to Mac Apple menu, follow an instruction on apple website, to active su (super user) and set a password.
3, go back to the terminal, get ftp user and password.
4, the hostname is ‘localhost’; put the line as below in the wp-config.php as a posting on the website said:
5, the download is ok, but it’s said: Could not create directory.
This command works:
chown -R ftp-user-name:ftp-user-name /Applications/XAMPP/xamppfiles/htdocs/iblog
In addition, I tried “chmod 777” first and it didn’t work.
chmod -R 777 ... --- recursively
The ‘ls -l’ command is useful to see the details of folder’s right assignment.