+ Post New Thread
Results 1 to 7 of 7
Web Development Thread, Wordpress MU move host/domain in Coding and Web Development; I have followed the procedures for changing domain names on a Wordpress MU install and moving to a new host. ...
  1. #1

    Join Date
    Sep 2009
    Posts
    8
    Thank Post
    0
    Thanked 1 Time in 1 Post
    Rep Power
    0

    Wordpress MU move host/domain

    I have followed the procedures for changing domain names on a Wordpress MU install and moving to a new host.

    I changed the domain in "wp-admin/options.php" whilst logged in on the previous host, then copied files over to the new host where I also edited wp-config.php in Notepad++ to give the new domain name. I similarly edited the .sql dump with a find/replace for the domain names.

    This was then imported with the same database (manually created in MySQL console) and user (same) names as before, with "All" permissions granted to the user on the database. I wrote a test script to connect to the DB using the credentials using PHP which worked. The hostname for the DB has been changed to "localhost" in "WP-Config.php".

    PHP is installed and PHP info indicates that mod-rewrite is enabled.

    Ubuntu Server with latest APACHE2/PHP/MySQL installs via apt-get.

    When visiting the site I just get a directory listing as per-



    All plugins have been disabled and theme set to WP Classic with no change.

    Any ideas?

  2. #2

    Join Date
    Dec 2008
    Location
    Nottingham
    Posts
    572
    Thank Post
    38
    Thanked 114 Times in 104 Posts
    Rep Power
    46
    index.php set as a DirectoryIndex in apache config?

    Can you access the index.php file if you add that in the URL and does it display correctly?

    Cheers

    Will

  3. #3

    Join Date
    Sep 2009
    Posts
    8
    Thank Post
    0
    Thanked 1 Time in 1 Post
    Rep Power
    0
    I can see where you're going with this and I had already checked.

    Index.php directs back to /blogs/ and shows the directory listing.

    Some php pages contained within wp-admin (for example wp-login.php) DO work and I can use some functions. The backend seems to work perfectly.

    Instinct tells me this is something to do with mod_redirect but then I can see student blogs and even individual posts- and not in the ?=xx format, these directly link with /dd/mm/yy/title URLs.

    Something odd going on for sure.

    I've tried disabling plugins, but maybe I should try deleting them and themes altogether? I can copy a virgin theme back from the distribution.
    Last edited by pwdstone; 24th November 2009 at 03:26 PM.

  4. #4

    Join Date
    Dec 2008
    Location
    Nottingham
    Posts
    572
    Thank Post
    38
    Thanked 114 Times in 104 Posts
    Rep Power
    46
    That still seems to me to suggest the apache DirectoryIndex being either changed or removed somewhere (it's the setting that choses what file to look for when you access /blog/). Other place to check is your apache error and access logs to see if there's anything there to give you a clue.

    Cheers

    Will
    Last edited by Willott; 24th November 2009 at 04:22 PM. Reason: Spelling = crap

  5. #5

    Join Date
    Feb 2006
    Location
    Isle of Wight, UK
    Posts
    149
    Thank Post
    28
    Thanked 28 Times in 25 Posts
    Rep Power
    22
    One other thing - is there anything lurking in your .htaccess file that may be upsetting the URL rewriting?

    Stephen

  6. #6

    Join Date
    Sep 2009
    Posts
    8
    Thank Post
    0
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Modifying directory index did solve this issue.

    I used to have a seperate .htaccess file that sat in the folder below that did this, but didn't move it when I moved the blogs.

    Thanks for the assist.

  7. #7

    Join Date
    Dec 2008
    Location
    Nottingham
    Posts
    572
    Thank Post
    38
    Thanked 114 Times in 104 Posts
    Rep Power
    46
    Happy to help

SHARE:
+ Post New Thread

Similar Threads

  1. Wordpress MU
    By GrumbleDook in forum Virtual Learning Platforms
    Replies: 2
    Last Post: 3rd May 2009, 09:23 PM
  2. Replies: 2
    Last Post: 16th April 2009, 11:40 AM
  3. Good grief.. move to a new Web Host already
    By contink in forum Comments and Suggestions
    Replies: 11
    Last Post: 23rd September 2008, 11:07 PM
  4. How to move my Domain
    By button_ripple in forum Windows Server 2008
    Replies: 2
    Last Post: 12th July 2008, 10:09 PM
  5. Wordpress MU
    By mark in forum Web Development
    Replies: 0
    Last Post: 1st May 2007, 05:09 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •