Having issues setting up a WordPress multisite with MAMP PRO and you can’t get your site to show up on port 80? Yeah, I’ve been there and there is hope to solving these local environment WordPress development issues!
Are you following the ‘Set Up Multisite with MAMP PRO’ instructions and you’ve set the ports to 80 but your site WILL NOT stop going to http://example:8888? These kind of issues can be SO FRUSTRATING. All you want to do is set up your local environment so you can start working on your next exciting project!
Here are the steps I have followed to get a local environment set-up:
- First, do this simple thing that could work for you.
- Open your site in incognito mode (After you’ve set the port to 80, saved and restarted your server)
- Chances are your site will work!
- IF it DOES work that means that you’ve got that url in your browser cache.
- Go to http://example/wp-admin
- This should override the cache and allow you to access the login panel.
If that doesn’t work:
- Open Terminal
sudo apachectl restart
- If that doesn’t work, open up PHPMyAdmin.
- Click MySQL under Servers & Services
- Don’t toggle it, just click the name MySQL
- This will open the MySQL tab
- Click on phpMyAdmin
- Now find the database for your site.
- Note: If you don’t know the name of it, look in the wp-config.php file to find the database name.
- In the appropriate MySQL Database, look for the table called wp_options.
- Make sure to hit ‘Browse’ tab.
- Look for ‘siteurl’ & ‘home’
- Make sure these do not have the :8888 tacked on at the end.
- If they DO, remove it
- http://example:8888/ to http://example/
Did this solve your issue? Did you have another solution that worked for you? Let me know!