• Resolved jasongff

    (@jasongff)


    I have domain1 which points to root (via web host settings). index.php initiates /subfolder1/header.php which then properly serves content from subfolder1.

    I then have domain2 pointing to /subfolder2 which serves up different content. All works well except I want to be able to link to posts using domain2 (e.g., domain2/postTitle). When attempt that, I receive an internal server error.

    I’ve searched high and low – but can’t seem to find anything definitive to fix it. I suspect it has something to do with .htaccess?

    Thanks, in advance, for your help.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator James Huff

    (@macmanx)

    Internal server errors (error 500) are often caused by plugin or theme function conflicts, so if you have access to your admin panel, try deactivating all plugins. If you don’t have access to your admin panel, try manually resetting your plugins (no Dashboard access required). If that resolves the issue, reactivate each one individually until you find the cause.

    If that does not resolve the issue, try switching to the Twenty Fifteen theme to rule-out a theme-specific issue. If you don’t have access to your admin panel, access your server via FTP or SFTP, navigate to /wp-content/themes/ and rename the directory of your currently active theme. This will force the default theme to activate and hopefully rule-out a theme-specific issue.

    If that does not resolve the issue, it’s possible that a .htaccess rule could be the source of the problem. To check for this, access your server via FTP or SFTP and rename the .htaccess file. If you can’t find a .htaccess file, make sure that you have set your FTP or SFTP client to view invisible files.

    If you weren’t able to resolve the issue by either resetting your plugins and theme or renaming your .htaccess file, we may be able to help, but we’ll need a more detailed error message. Internal server errors are usually described in more detail in the server error log. If you have access to your server error log, generate the error again, note the date and time, then immediately check your server error log for any errors that occurred during that time period. If you don’t have access to your server error log, ask your hosting provider to look for you.

    Thread Starter jasongff

    (@jasongff)

    Thanks James, for your detailed and quick reply. I’m not sure I explained the situation correctly.

    I wound up fixing the issue simply by changing the “WordPress Address” and “Site Address” in General Settings. Now I can browse domain2/PostName and domain1/PostName with no errors.

    Thanks again!

    Moderator James Huff

    (@macmanx)

    Thanks for sharing your solution!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘2 domains, 2 folder installations – goofed up?’ is closed to new replies.