Multisite URL
-
Hi
I have tried altering my existing WP site to multisite it seemed to go ok I set up a new subdomain but when I went to view the dashboard I got a message saying not found. I emailed my server for advice and they told me i need to change my url and told me to read http://codex.wordpress.org/Changing_The_Site_URL which I have, but am confussed!
I have reverted back to my original single installation but would like to get the multi site cracked.
So my question what do I need to do to my url structure before installing the multi site option? So its a straight forward transition
-
Where is your WordPress installed?
If you installed in a subfolder like domain.com/wordpress, then you CANNOT use Subdomains.
However if you installed in domain.com, then you CAN š
So first up, where did you install it.
Second. Did you edit your .htaccess and set up wildcard subdomains?
Yes I have WordPress set up in the domain.com, I edited the .htaccess and set up the wild card domain with my server – the stupid thing is I set up a multisite on another domain last year with no problems so why I’ve got them with this one!
I don’t know if it is connected but when I first saw the network page it said I need to drop the http://www.domain.com and go to domain.com, I couldn’t see any options to do this at that stage so pressed continue – should I have changed ie dropped the www. In general>settings before changing to a multisite?
As I said I want to convert an existing site, if I have to drop the www will that affect my google rankings?
Many thanks for your help
should I have changed ie dropped the www. In general>settings before changing to a multisite?
Yeah, but it’s okay if you didn’t. And no, it doesn’t affect Google.
Since nothing’s working, I would remove Multisite – http://wpmututorials.com/how-to/how-to-disable-multisite/
Then you can fix the URLs to http://domain.com
THEN reinstall Multisite.
Hello again,
I read what you suggested, I have started again and dropped the www. from my domain in the settings menu, added the
define('WP_ALLOW_MULTISITE', true);code to wp-config.php and now I cant log into my wp-admin!When I go to my website login page it just refreshes and asks for login details again.
I would appreciate your advice please
Hello again, I have looked at this page http://codex.wordpress.org/Login_Trouble
I see the section on changing the url and login problems it says:
Changed your WordPress address URI and cannot login nor access the database (but still can access the login page) ?
wp-login.php can be used to reset the address:
//FIXME: do comment/remove these hack lines. (once the database is updated)
update_option(‘siteurl’, ‘http://your.domain.name/the/path’ );
update_option(‘home’, ‘http://your.domain.name/the/path’ );Is this what I need to do? Where do I put this code within the wp-login.php file? Once I have done this if I follow the instructions will installing multisite work?
Thanks
That codex article won’t help you.
Try flushing all yoru cookies on your browser first.
Thanks for getting back to me so quickly.
I have deleted all cookies on my computer but still no joy, tried the same with my ipad and cant get logged on just getting the logon page the status bar says transfering data… but then comes back to the log on page.
I would be greatful for your advice on what to do next please!
Many thanks
Put this in, ABOVE the line for Multisite:
define('WP_SITEURL', 'http://domain.com'); define('WP_HOME', 'http://domain.com');Thanks, I have added the code as you suggested as you can see in this shot http://my.jetscreenshot.com/4951/20111208-1mru-13kb but when i go to the login page the problem remains!
I am really stuck, so would be greatful for more advise please
Many thanks
hello again,
I tried just adding the www. in the front of the code you gave me and it has let me log on!
When I look at my dashboard I dont have the network option on the hello dropdown that I was expecting having added the allow multisite code?
Also when I look in settings general the url has gone back to http://www.domain.com rather than domain.com which is what I changed before locking myself out.
I do feel multi site would be advantageous to me so where do I go from here – am I right in thinking I still need to change my url to domain.com before proceeding with the multisite set up, and if I have already got the allow multisite code in my config file why is it not showing the network option under the hello dropdown?
Thanks for you help with this, it is appreciated
just looking at my screen it wont let me change the url if I want to in general settings its grey – I guess this is cos we did that with the code in the config file?
I tried just adding the www. in the front of the code you gave me and it has let me log on!
Then the problem is that when you changed the URLs to NON-www you didn’t get all the settings. WHich … well that sucks.
Remove the site_URL and HOME defines and you can edit them again, but I would, instead, remove those lines and then search my database CAREFULLY for all instances of domain.com and make sure there’s no www.
The topic ‘Multisite URL’ is closed to new replies.