I have just changed ports on MAMP from :8888 to :80 for localhost in order to setup a WordPress multisite for local development. However I have several sites with separate installations that are in my htdocs folder and previously used localhost:8888 as a root.
I did the following things in order :
- Opened wp-config and changed the Mysql hostname to
define('DB_HOST', 'localhost');
- Went to the options table of the database and changed the siteurl and home.
- I cleared my .htaccess file
- Cleared my browser cache.
Still, when I am at the index for localhost I am still being redirected to localhost:8888. I'm sure other people have had this problem and yet I can't seem to find the same question.
Interestingly enough I have access to admin just not to the front end.