• Resolved nwtech

    (@nwtech)


    I setup WP Multisite after it merged into WP 3.0. Originally it was setup as a sub domain network. Is there a way that I can change it the sub directory version without reinstalling or clearing databases?

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

    (@ipstenu)

    ?????? Advisor and Activist

    Thread Starter nwtech

    (@nwtech)

    Thank you.

    I followed those directions, and I can now create sites, however when I visit the dashboard of that site, I can not create posts or pages.

    Additionally, I get an error from the NextGen Gallery when attempting to “Upgrade the database tables”

    Could not find NextGEN Gallery database tables, upgrade failed !

    TIA

    If you made any subsites, you WILL have to either get rid of them or go in the database and fix them.

    Thread Starter nwtech

    (@nwtech)

    i created new sites after the above change to the sub-directory format

    Thread Starter nwtech

    (@nwtech)

    I should also mention that I do have the updated .htaccess

    #BEGIN WordPress

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]

    # uploaded files
    RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]

    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ – [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]

    #END WordPress

    and the hosting server has mod_rewrite all on.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Additionally, I get an error from the NextGen Gallery when attempting to “Upgrade the database tables”

    There are probably settings in that plugin that are pointing to the subdomain then. You’ll need to scour them.

    Thread Starter nwtech

    (@nwtech)

    There are probably settings in that plugin that are pointing to the subdomain then. You’ll need to scour them.

    that would be plugin specific. would this also cause all new sites to not be able to create new pages or posts and show the “page cannot be found”?

    Example: https://nwtechanddesign.com/factquest/

    Thread Starter nwtech

    (@nwtech)

    if it’s any help, here’s a quick screenshot of what i’m experiencing: https://screenr.com/4xa

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Well I was only addressing the NextGen stuff in that so .. yeah, plugin specific ?? That’s why I quoted exactly what I was replying to.

    Check the database. Are the tables for wp_2_* there?

    Also, check the DB permissions to make sure they’re okay. You should have full access to everything.

    Thread Starter nwtech

    (@nwtech)

    Sorry, i responded before my morning coffee. ??

    No, I don’t have any wp_2 tables in my database. What’s the best way to create them to get it all working?

    **EDIT** i do have several wp_7_* tables in the database. would it be as simple as renaming them to wp_2_* ?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Interesting. Do you have any wp_#_ tables? Where # is the same as your blog number for factquest?

    Thread Starter nwtech

    (@nwtech)

    **EDIT** i do have several wp_7_* tables in the database. would it be as simple as renaming them to wp_2_* ?

    Thread Starter nwtech

    (@nwtech)

    the main site was developed on a different server and uses the MyISAM MySQL engine…the multisite was setup after the site migrated to a new server. the wp_#_tables are using the InnoDB MySQL engine….would this be causing any problems?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    No no! DO NOT rename them ??

    But.

    The MyISAM/InnoDB thing is curious. I’m not excellent enough at DB stuff yet but it SHOULD all be … well mine is all MyISAM. That’s entirely plausible to me.

    Thread Starter nwtech

    (@nwtech)

    resolved! it was a mysql server issue found here: https://blog.assarbad.net/20110306/more-issues-with-mariadb/

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘WP Multisite Sub-domain to Sub-directory’ is closed to new replies.