WordPress.org

Ready to get started?Download WordPress

Forums

404 Error When Adding Another WP Site (7 posts)

  1. everlonglp
    Member
    Posted 2 years ago #

    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 http://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

  2. everlonglp
    Member
    Posted 2 years ago #

    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.

  3. dkotter
    Member
    Posted 2 years ago #

    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.

  4. lgordonb
    Member
    Posted 2 years ago #

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

  5. everlonglp
    Member
    Posted 2 years ago #

    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?

  6. dkotter
    Member
    Posted 2 years ago #

    Try this stackoverflow question and answers.

  7. everlonglp
    Member
    Posted 2 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic