• I’ve been working on WordPress locally with MAMP. I created a sub-directory called “ptmc1” and installed WordPress there, then began to configure it.

    Because I’m doing wild experimentation at this point, I created a second sub-directory called “ptmc2” and later a third called “ptmc3”.

    I only just now discovered that only ptmc3 works now. ‘ptmc1’ gives an error about “server not found at port 10000” and ‘ptmc2’ goes to a URL at port 8888 but gives a 404.

    It occurs to me I’ve read about needing to modify the .htaccess file when installing in a subdirectory. But that source said you need to do this “if there is a WP installation in the root directory”. Which is not my case. Also I’m working locally.

    Any ideas what’s going on? is this an .htaccess problem?

    Mike

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    If you properly entered the correct paths when setting up WP, the correct .htaccess entries will be made by WP. This is the .htaccess in the installation directory, not public root. How are you requesting pages for the various sub-folder installations? 10000 is an atypical port. Apache is not even listening on it. 8888 is fine for MAMP. If you are not specifying a port in the request, something is redirecting to 10000. Look for additional .htaccess rules involving port 10000 in both the installation folder and public root.

    About the 404 on ptmc2, is that a server “hard” 404 or a WP “soft” 404? If the 404 page has WP theming and says something about nothing found, it’s the latter. That means WP is working, but could not find the requested resource in the DB. In other words, the post query failed. Are you able to access the dashboard at ptmc2/wp-admin/?

Viewing 1 replies (of 1 total)
  • The topic ‘multiple wordpress installations on same host’ is closed to new replies.