I created a local website on my computer, and now I uploaded all the files to another host via SSH.
I have two problems:
When I connect to the example.com/wp-login.php page, it redirects me to example.com/example.com/wp-admin .
On example.com, when I touch to Login button, it redirects me to a page that says, " The requested URL /login/ was not found on this server. "
The first time, I had a wp-loging.php page without style, but I fixed it.
Can you please help me?
In the database please make sure the siteurl in wp_options table is correct. Also, make sure that the config file doesnt have WP_HOME
and WP_SITEURL
defined incorrectly.
If http:// or Https:// missing in front of example.com/wp-login.php then it will redirect to example.com/ + example.com/wp-login.php
I f url start with no http ftp ... then browser think its a sub-page of this host.
so if http missing on example.com/wp-login.php then add http:// Or you can remove example.com from example.com/wp-login.php and only use /wp-login.php
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.