Forums

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

  1. ADITYA JAIN
    Member
    Posted 4 months 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. Ipstenu
    Half-Elf Support Rogue & Mod
    Posted 4 months ago #

    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. Andrea_r
    team pirate
    Posted 4 months ago #

    Make another test site. Does it work?

  4. ADITYA JAIN
    Member
    Posted 4 months ago #

    @ipstenu
    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
    Member
    Posted 4 months ago #

    @Andrea_r
    I have tried in 3 different sites but same problem

  6. Andrea_r
    team pirate
    Posted 4 months ago #

    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. Ipstenu
    Half-Elf Support Rogue & Mod
    Posted 4 months ago #

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

    Revert your changes while you're at it.

Reply

You must log in to post.

About this Topic