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??
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?
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)
ADITYA JAIN
Member
Posted 4 months ago #
@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.
There remains the possibility that yuor core edits also broke something.
Revert your changes while you're at it.