• Resolved Rob

    (@roballred)


    Hey all thanks in advance for time and suggestions!

    step 1: I moved database to another box. all is good and site works great.

    step 2: I need to move wordpress and all the files to another instance of linux I am using, not the same server as the database. I was able to install all the LAMP stack on my new instance, move the entire wordpress install I was using on old server to new one(including .htaccess, wp-content etc). made sure mode_rewrite is install, changed the AllowOverride to All in the sites-available file. the site comes up but does not allow me to navigate to anything (404). Some plugin’s seem broken too, but I am guessing if I get this navigation thing worked out they might work. All the domain names are mapped the same as well and seem to work its just the pages and post that don’t. I use pretty permalinks, but it doesn’t work using default settings either.

    again thanks for your help.

Viewing 14 replies - 16 through 29 (of 29 total)
  • Thread Starter Rob

    (@roballred)

    as another note i have AllowOverride ALL for

    <Directory />
                    Options FollowSymLinks
                    AllowOverride ALL
            </Directory>
            <Directory /var/www/>
                    Options Indexes FollowSymLinks MultiViews
                    AllowOverride All
                    Order allow,deny
                    allow from all
            </Directory>

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Try this:

    AllowOverride All Fileinfo Options

    For whatever reason, All doesn’t mean ALL :/

    Thread Starter Rob

    (@roballred)

    I changed the AllowOverride as you suggested and restarted apache to make sure it was all good and still get my lovely 404 page.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    So it’s this:

    <Directory />
                    Options FollowSymLinks
                    AllowOverride All Fileinfo Options
            </Directory>
            <Directory /var/www/>
                    Options Indexes FollowSymLinks MultiViews
                    AllowOverride All Fileinfo Options
                    Order allow,deny
                    allow from all
            </Directory>
    Thread Starter Rob

    (@roballred)

    That is correct.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Just checking.

    Rewind, what’s in your .htaccess?

    Thread Starter Rob

    (@roballred)

    ny .htaccess is currently the one I posted earlier. by the way thanks for all your help slugging through this!

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Sorry, I went back to double check and missed it.

    Augh. This is annoying.

    The .htaccess is right
    The httpd.conf is right
    The plugins are off…

    There’s no reason this should happen.

    Can you install a second, separate, instance of WP and see if multisite breaks there? I wonder if there’s something wonky on the server itself.

    Thread Starter Rob

    (@roballred)

    so maybe some of my steps can help find a problem

    1. moved database to another server, this happened a few weeks ago and has been working correctly all getting me ready to do this move.
    2. installed LAMP on my new server. including making sure mod-rewrite was loaded and running.
    3. copied files from old server to new server (including but not limited to ones you have already seen) I literally just copied all my files from root of old server to my /var/www/. Did not run any installation scripts or anything.
    4.wp-config.php from old server already points to database
    5..htaccess as shown earlier.
    6. http.config as shown earlier.
    7. file permissions and ownership all set

    really is strange that top level list works and i get 404’s on subsites

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    If you make a brand new site on the network, is it a 404 as well?

    Thread Starter Rob

    (@roballred)

    new subsite works, I am able to go right to the hello world post

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Okay! That’s good news!

    I have a theory. But you won’t like it.

    I want you to rename your plugins folder to plugins-old.

    Thread Starter Rob

    (@roballred)

    after that do i test the site to see if it works? restart apache? change name back if it does work? If this gets it to work, then I like it. You have been so helpful, thank you.

    Thread Starter Rob

    (@roballred)

    ok, that worked, and I found the offender, I activate most plugins at subsite, but had this one network activated. Hence I thought I had them all turned off….thank you so much mika!

Viewing 14 replies - 16 through 29 (of 29 total)
  • The topic ‘moved servers and broken navigation’ is closed to new replies.