• Resolved Aditya Jain

    (@theadityajain)


    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??

Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    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.

    Make another test site. Does it work?

    Thread Starter Aditya Jain

    (@theadityajain)

    @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)

    Thread Starter Aditya Jain

    (@theadityajain)

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

    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.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

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

    Revert your changes while you’re at it.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Unable to open "/blog" after adding it to multisite’ is closed to new replies.