• Resolved venkmanuk

    (@venkmanuk)


    Hi All,

    I moved a multisite installation from one server to another, and using PMA and Safe Search Replace i changed (almost) all the old url’s for the new one.

    I can log in to the back-end of my multisite and look at the pages etc – all under the new url – but when i click to view the page i get a 404.

    ??

    Any ideas why this might be happening?

    my htaccess file looks like this:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    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).*) $1 [L]
    RewriteRule  ^[_0-9a-zA-Z-]+/(.*\.php)$ $1 [L]
    RewriteRule . index.php [L]
    </IfModule>
    
    # END WordPress

    Any ideas would be great – thanks!!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter venkmanuk

    (@venkmanuk)

    and strangely, if i use ‘default’ permalinks it works OK ..

    ( that would be ok, except im using plugins that need pretty permalinks )

    .. ?!

    Thread Starter venkmanuk

    (@venkmanuk)

    The server it’s being migrated onto is some kind of nightmare Microsoft deal. uuugh!

    The web host did the following:
    import the .htaccess rules into the IIS 7.5 URL Rewrite module. I’ve done this using the .htaccess file in the root of the web. It went fine except for one rule “RewriteBase /.” Which it would not take.

    SO that worked and i now have permalinks working.
    file uploads aren’t tho.

    .. new thread!

    Thread Starter venkmanuk

    (@venkmanuk)

    OK i’ll just finish the story here:

    The host added the iusr account to the root of the wp_content subdirectory and that fixed all media upload issues across the multisite.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Multisite migration ( pages 404 )’ is closed to new replies.