Problem With Addon Domain And WordPress In Different Directory
-
I have a domain tim-weston.com with WordPress set up as follows:
– blog URL: https://www.tim-weston.com
– WordPress URL: https://www.tim-weston.com/wp-tim-westonFor this blog, everything works great.
I have another domain, thedailymickey.com. It is set up as an addon domain for tim-weston.com and points to https://www.tim-weston.com/the-daily-mickey/ For this domain, I have WordPress set up as follows:
– blog URL: https://www.thedailymickey.com
– WordPress URL: https://www.tim-weston.com/wp-the-daily-mickeyYou’ll notice that for both blogs, the WordPress installation is in a different directory than the blog URL.
When I go to https://www.thedailymickey.com, the site loads perfectly fine. However, if I click on a post title to go to the post on a page by itself, I receive the following error:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
Here are what my .htaccess files look like:
tim-weston.com:
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress RewriteCond %{HTTP_HOST} ^dailymickey.com$ [OR] RewriteCond %{HTTP_HOST} ^www.dailymickey.com$
(The bit at the bottom is a redirection of dailymickey.com to thedailymickey.com)
thedailymickey.com:
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /the-daily-mickey/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /the-daily-mickey/index.php [L] </IfModule> # END WordPress
Does anyone have suggestions as to what might be wrong with my settings?
- The topic ‘Problem With Addon Domain And WordPress In Different Directory’ is closed to new replies.