• Hey guys,

    Need a little help.

    I currently have a WP installtion that’s setup as my main site on the top level domain. I then added a separate WP install in it’s own folder that I want to host my blog to and all it’s content. So the homepage of that 2nd install is https://myurlhere.com/blog

    So I did a test post, but when I visit the post’s permalink from the /blog WP installation, it sends me to my top level domain installation and gives me a 404 error.

    Am I missing something?

    Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter everlonglp

    (@everlonglp)

    Just a quick update. When I change my permalinks to the default it works just fine, but there seems to be a conflict when I change my permalinks for the blog to anything else.

    You might have an issue with rewrites getting in the way. I’ve had this issue with multiple installs on the same domain. So if you have a page called Blog in your top level install, you’ll have issues with WordPress trying to redirect pages from the second install to that one.

    I’m not an expert with rewrites, but I know there are ways to stop rewrites from happening on specific folders. This way the parent level rewrites won’t mess with the separate directory ones.

    I am having the exact same problem! How can I get the permalinks to show the page name?

    Thread Starter everlonglp

    (@everlonglp)

    Thanks for the replay. I’ve been looking around the forum for the rewrites and the permalinks on multiple installations on one domain but haven’t had any luck thus yet.

    Anyone know what I need to do to stop rewrites from happening on specific folders?

    Try this stackoverflow question and answers.

    Thread Starter everlonglp

    (@everlonglp)

    I figured out a simple solution.

    in the subfolder of your new WP installation, create a blank .htaccess file and set the permissions to 666.

    Then reset your permalinks and whola, it’s fixed.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘404 Error When Adding Another WP Site’ is closed to new replies.