WordPress.org

Ready to get started?Download WordPress

Forums

Wp 3 mutisite pblm. Permalinks changed to /blog (6 posts)

  1. ricky709
    Member
    Posted 4 years ago #

    Hello friends,

    I just upgraded to wp 3. I was having a look at multisite option. I did all the necessary steps like updating wp config and htaccess file. All the things went smoothly.

    The only problem is my permalinks structure has been changed with this. My wp is installed under /blog directory. Using index.php my site address is redirected to http://geniusgeeks.com. But after wp upgrade permalinks structure has been changed from http://geniusgeeks.com/2010/06/watch-sri-lanka-bangladesh-asia-cup-2010-cricket-live-match/

    to http://geniusgeeks.com/blog/blog/2010/06/watch-sri-lanka-bangladesh-asia-cup-2010-cricket-live-match/

    You can see that /blog/blog is automatically appended to the domain url. How to solve this issue? There is permalinks setting for it as it takes website as http://geniusgeeks.com/blog instead of http://geniusgeeks.com (site address).

    Help me out

  2. Andrew Nacin
    Lead Developer
    Posted 4 years ago #

    This is a known limitation when using multisite with subdirectories. It is why it most likely warned you about using subdirectories during the Tools > Network install, no?

    The main blog in a subdirectory setup is forced to use "/blog" currently.

  3. Safirul Alredha
    Member
    Posted 4 years ago #

    Dunno whether this still work.

    Go to /wp-admin/options.php, edit the permalink_structure to /%year%/%monthnum%/%postname%/

  4. Andrew Nacin
    Lead Developer
    Posted 4 years ago #

    It won't, WordPress will continue to force /blog. There is a way to remove it using a plugin if I recall correctly, but it's not a sure fix.

  5. Evelien
    Member
    Posted 4 years ago #

    It looks like this silly /blog/blog is inserted into the permalinks every time I edit my permalinks on the Settings-->Permalinks page. However when I go to Super Admin-->Sites and edit the site affected I can scroll way down to a permalink field there and remove the duplicate "/blog" from the permalink structure.

  6. IF YOU DO THIS, YOU WILL LOSE ALL CONFLICT CHECKING

    If you do this, you have to be VERY careful about never making a page that will conflict with your permalink settings, as well as any SUB sites, as WP will no longer be able to check for you.

    Go to Super Admin -> Sites and click on 'edit' so you go to http://domain.com/wp-admin/ms-sites.php?action=editblog&id=NUMBER (where number is the blog number).

    On that page, look for Permalink Structure and edit.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.