WordPress.org

Ready to get started?Download WordPress

Forums

Multisite vs import to one install vs several installs in directories (2 posts)

  1. knottulf
    Member
    Posted 1 year ago #

    I have one main wordpress installation and some newer installations in other domains, which I want to incorporate under the same domain as the main installation. This is mainly because I want the less important sites to benefit from the seo ranking of the main one.

    Now, what is best:
    a) setting up a multisite network
    This seems to be a lot of hazzle. It seems I would have to choose subdirectory install to benefit from the main site SEO ranking.
    The paths of the main site would have to be changed to example.co/blog/whatever, where the "/blog" part cannot be removed, according to the documentation.
    Could this be achieved by editing .htaccess file, so that all paths that don't contain the "subdirectory" part of the imported site, are permanently redirected to the new "/blog/whatever"-address?
    The documentation also says this surprising statement:

    You cannot choose Sub-directory Install (for a path-based network) if your existing WordPress installation has been set up for more than a month, due to issues with existing permalinks. (This problem will be fixed in a future version. See Switching network types for more information.)

    Which seems to eliminate the possility to use multisite in my case. Could this be right??

    b) Importing to one installation
    Now, I tried this with the use of plugin "Page theme", but I can't get it to work. Instead of using the child theme of themeB, it uses themeB for posts and pages from the imported site.
    There is also another plugin "jonradio multiple themes", but it seems that both of these plugins have troubles with menus, widgets and more which are used in only one of the themes.

    c) Several installs in directories
    I also tried this one, which seems to work up to a point. But pretty permalinks causes trouble: The main page of the subinstall shows up ok with address like "example.com/subsite", but any other page in this site causes the installation in the base installation to show 404-page.

    Any good advice for this problem would be really appreciated!

  2. knottulf
    Member
    Posted 1 year ago #

    Seems like the solution with several installs in directories works. Only have to add

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress

    into .htaccess of each of the "folder instalations".
    AND of course check that there is no existing /folder/ permalink in the root installation.

Topic Closed

This topic has been closed to new replies.

About this Topic