After relocating multisite – domain name is repeated in path
-
After successfully setting up a multisite on my laptop after giving up with 1and1 hosting, I needed to make it visible to selective remote users.
I started with virtual hosts and a pseudo domain: flapajack.local which worked fine with two child blogs on the same machine. I then set up a dynamic IP account with dyndns and set my real domain name at 123-reg to forward to dyndns dynamic IP service which correctly forwarded to my laptop. I then followed the tips for moving wordpress to a new URL, but must have made a mistake somewhere as the main site appears without images and style sheets. This is because some links contain a copy of the domain name as the name of first directory in the path, but most links are correct, please see the output from httpfox below:04:33:46.595 0.801 662 4967 GET 200 text/html http://wordpress304.local/ 04:33:47.241 0.216 733 478 GET 404 text/html http://wordpress304.local/wordpress304.local/wp-content/plugins/buddypress/bp-themes/bp-default/style.css 04:33:47.261 0.270 745 3970 GET 200 text/css http://wordpress304.local/wp-content/plugins/google-custom-search/css/smoothness/jquery-ui-1.7.3.custom.css?ver=3.0.4 ... 04:33:47.337 0.426 725 405 GET 200 text/css http://wordpress304.local/wp-content/plugins/buddypress-ajax-chat/bp-chat/css/nifty.css?ver=3.0.4
I tried to fix the problem by dumping the database to sql, then search and replace all references to old-domain with new-domain, then reloading the database. However, I still have the same problem.
I would like to understand how to fix this because I will eventually have to move development work to VPS on a different domain name and do not want to risk a repeat occurrence of this problem.
If I new where to look I could add some debugging code into to the relevant section of php.
Any tips on how to proceed would be much appreciated.
- The topic ‘After relocating multisite – domain name is repeated in path’ is closed to new replies.