Welcome, Register for free! or Login below:
EduGeek.net RSS Feeds Register FAQ Members Social Groups User Map Calendar Search Today's Posts Mark Forums Read

Web Development

Web Development forum sponsored by


Go Back   EduGeek.net Forums > Coding and Web Development > Web Development
Reply
 
LinkBack Thread Tools Search Thread
Sponsored Links
Old 24-11-2009, 11:36 AM   #1
 
pwdstone's Avatar
 
Join Date: Sep 2009
Posts: 8
uk uk derbyshire
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0 pwdstone is an unknown quantity at this point
Default 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?
  Reply With Quote
Old 24-11-2009, 03:47 PM   #2
 
Willott's Avatar
 
Join Date: Dec 2008
Location: Nottingham
Posts: 145
uk uk england
Thanks: 16
Thanked 31 Times in 29 Posts
Rep Power: 10 Willott has a spectacular aura about Willott has a spectacular aura about Willott has a spectacular aura about
Default

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
  Reply With Quote
Old 24-11-2009, 04:24 PM   #3
 
pwdstone's Avatar
 
Join Date: Sep 2009
Posts: 8
uk uk derbyshire
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0 pwdstone is an unknown quantity at this point
Default

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; 24-11-2009 at 04:26 PM..
  Reply With Quote
Old 24-11-2009, 05:21 PM   #4
 
Willott's Avatar
 
Join Date: Dec 2008
Location: Nottingham
Posts: 145
uk uk england
Thanks: 16
Thanked 31 Times in 29 Posts
Rep Power: 10 Willott has a spectacular aura about Willott has a spectacular aura about Willott has a spectacular aura about
Default

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; 24-11-2009 at 05:22 PM.. Reason: Spelling = crap
  Reply With Quote
Old 24-11-2009, 05:35 PM   #5
 
SteveMC's Avatar
 
Join Date: Feb 2006
Location: Isle of Wight, UK
Posts: 145
uk uk isle of wight
Thanks: 24
Thanked 27 Times in 24 Posts
Rep Power: 13 SteveMC will become famous soon enough SteveMC will become famous soon enough
Send a message via MSN to SteveMC
Default

One other thing - is there anything lurking in your .htaccess file that may be upsetting the URL rewriting?

Stephen
  Reply With Quote
Old 26-11-2009, 01:52 PM   #6
 
pwdstone's Avatar
 
Join Date: Sep 2009
Posts: 8
uk uk derbyshire
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0 pwdstone is an unknown quantity at this point
Default

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.
  Reply With Quote
Old 26-11-2009, 01:54 PM   #7
 
Willott's Avatar
 
Join Date: Dec 2008
Location: Nottingham
Posts: 145
uk uk england
Thanks: 16
Thanked 31 Times in 29 Posts
Rep Power: 10 Willott has a spectacular aura about Willott has a spectacular aura about Willott has a spectacular aura about
Default

Happy to help
  Reply With Quote
Reply

EduGeek.net Forums > Coding and Web Development > Web Development

Similar Threads
Thread Thread Starter Forum Replies Last Post
Wordpress MU GrumbleDook Virtual Learning Platforms 2 03-05-2009 09:23 PM
Convinced SMT to move to zimbra but how can I move accounts from desknow? reggiep *nix 2 16-04-2009 11:40 AM
Good grief.. move to a new Web Host already contink Comments and Suggestions 11 23-09-2008 11:07 PM
How to move my Domain button_ripple Windows Server 2008 2 12-07-2008 10:09 PM
Wordpress MU mark Web Development 0 01-05-2007 05:09 PM


Tags
domain , host , php , wordpress


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search Thread
Search Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 07:24 PM.
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.
Copyright EduGeek.net




website uptime

© 2005 - 2009 EduGeek.net
SERVER: 4
no new posts