login - How to log into WordPress admin in MAMP

admin2025-01-07  3

New to MAMP, but had no issues with installation and viewing the WordPress site I pulled down from my server. However, can’t figure out to log into the admin side of my site. Here’s what I’ve tried, and the results:

Setting: Web Server > Document Root > Sites

  1. localhost:8888 = displays website with no issues

  2. http://localhost:8888/wp-admin/ = Not Found page

  3. Both localhost:8888/mysitename/wp-admin/ and http://localhost:8888/mysitename/wp-admin redirects to https://localhost:8888/mysitename/wp-admin/ then Secure Connection Failed An error occurred during a connection to localhost:8888. SSL received a record that exceeded the maximum permissible length. Error code: SSL_ERROR_RX_RECORD_TOO_LONG

Everything I’ve read makes it sound easier than this. What am I missing?

New to MAMP, but had no issues with installation and viewing the WordPress site I pulled down from my server. However, can’t figure out to log into the admin side of my site. Here’s what I’ve tried, and the results:

Setting: Web Server > Document Root > Sites

  1. localhost:8888 = displays website with no issues

  2. http://localhost:8888/wp-admin/ = Not Found page

  3. Both localhost:8888/mysitename/wp-admin/ and http://localhost:8888/mysitename/wp-admin redirects to https://localhost:8888/mysitename/wp-admin/ then Secure Connection Failed An error occurred during a connection to localhost:8888. SSL received a record that exceeded the maximum permissible length. Error code: SSL_ERROR_RX_RECORD_TOO_LONG

Everything I’ve read makes it sound easier than this. What am I missing?

Share Improve this question edited Jul 29, 2019 at 10:44 fuxia 107k38 gold badges255 silver badges459 bronze badges asked Jul 28, 2019 at 14:22 breadwildbreadwild 3815 silver badges22 bronze badges
Add a comment  | 

2 Answers 2

Reset to default 0

Go to MAMP pro and click on the localhost icon (it should be the top of the list) then to the right there will be a series of tabs - the first one being "General"

The second section down in that tab will show the "Document root" path. You can define where the files/dirs are located there.

Suugest to create a dir called "sites" in there create as many dirs as needed/whenever needed - but - point the root path at the (site) dir.

From that point on the address should be localhost/sites/**whatever the site dir name is

EG: localhost/sites/samplesite

**If you add the dir to the localhost dir - it will then show as

localhost/samplesite

Same here

I am also looking for a solution for this but have not been able to find the right solution that works properly yet

Versions:

macOS Catlina: 10.15.7 (19H524)

MAMP: 5.7

Firfox: 89.0.2 (64-bit)

WordPress: 5.7.2

转载请注明原文地址:http://conceptsofalgorithm.com/Algorithm/1736253312a114.html

最新回复(0)