[resolved] Unable to open "/blog" after adding it to multisite (7 posts)

  1. Aditya Jain
    Posted 4 years ago #

    I have edited the options-permalinks.php and changed permalinks of posts from "/blog" to "/post" and removed "blog" from the reserved list of "site-new.php" inside the wp-admin/network folder
    and then successfully created a site with URL address mydomain.com/blog
    but when i open mydomain.com.blog it says page not exist
    what can i do to solve the problem??

  2. What happens if you go to domain.com/blog/wp-admin?

    And I should point out that you hacked core, which is a terrible thing, and now you've killed kittens and we really, REALLY, don't like that.

  3. Make another test site. Does it work?

  4. Aditya Jain
    Posted 4 years ago #

    Thats the trobule when i go to mydomain.com/blog/wp-admin it opens admin page for "/blog" but when i open mydomain.com/blog/wp-login.php it opens login page for mydomain.php
    WP is opensource so i can edit its code and i am assuring i have not touched any other code then the two i have told earlier
    Actually I am using WP as CMS and I ant my blog on mydomain.com/blog but with a different theme (not the one of my domain.com)

  5. Aditya Jain
    Posted 4 years ago #

    I have tried in 3 different sites but same problem

  6. Then its not an issue with the code - it;s an issue with your server setup. The subfolder blogs work on htaccess. You need mod_rewrite enabled and functioning on your server.

    A quick check go to the main site, under Settings -> Permalink. Pick one. get them working.

  7. There remains the possibility that yuor core edits also broke something.

    Revert your changes while you're at it.

Topic Closed

This topic has been closed to new replies.

About this Topic