WordPress Multisite Multidomain….does it work anymore?
-
I can see old support stating it was possible but after trying basically the only 3 wordpress plugins I could find to do it, I realized they are very old and when I tried, could not get them to work.
Is there any plugins or ways to configure a wordpress multisite with /folder/ sites to make them .com names instead? For wordpress multisite multi-domain?
I cannot get it to work after much trying and every comment I see about anything recent says basically it doesn’t work
-
Yea I am moving from sub-domain to straight domains…
Its a bit complicated however… You go into your network admin for the site and chose edit… There you can change the base URL for the site… But if you just change it there then you will loose most the connections to your database… You have to go into your database and do a find and replace of all the old URL taxonomies and update them to the new URL… This is much easier said then done and I am still working on a secure safe way of doing it…
Do not try to do this command line… You need a script or program to do checking to make sure you changing the correct data…
Maybe if we are very lucky Mika will weigh in on exactly what tables you want to change… However I think its just posts table with the guid column… And any other info that would be helpful π
You do NOT want to do a search & replace in the database, as a lot of the url data in the db is serialized (meaning it has some correlating metadata related to the character length of the url). Search and replace will completely mess this up.
@bundleplan: In your question, are you saying that you are having problems getting domain mapping working? This is the usual way of getting domains connected to subsites… And those plugins are “old” but they do a basic function that hasn’t changed, and they DO work.
Is your multisite setup as subdomains or subdirectories?
That is what the Domain Mapping plugin does. It can map your site(s) to different domains.
Mika did tell you, in that blog post.
[…] since I didnβt have content, I didnβt bother with a search/replace. If I had, Iβd use that Interconnectit Script or WP-CLI for it. Still, like a wise person, I always get the domain βrightβ before I add content.
Script: https://github.com/interconnectit/Search-Replace-DB
WP-CLI: http://wp-cli.org/commands/search-replace/I also found this online tool to do this recently:
http://pixelentity.com/wordpress-search-replace-domain/That online tool looks very cool… I am using this tool but it costs – http://www.araelium.com/querious
It is very very powerful… And i think does the serialization… But yea thats why i said not try it from command line… But the WP CLI should be fine like Mika says… I just have never used it so I am a bit wary of diving in but I really should…
Is it just the guid table that you want to fix?
or does the CLI take care of everything?
So I would just run – wp search-replace ‘http://example.dev’ ‘http://example.com’ –dry-run
And that should give me a read out of what it will change and if I like it I just drop the dry-run?
Thanks so much for everyones help!!!
Thanks everyone! I have subdirectories/folders, and am trying to make domain.com show up instead of site.com/domain as an example.
I have set up the multidomain plugins I could find..maybe I am doing something wrong. I forwarded my domain to the site.com and didnt work, forwarded to site.com/domain and didnt work.
Am i doing something wrong with the forwarding to the site itself, for it to forward the actual domain to the folder, and show as domain.com instead of site.com/domain ??
Also if I know of a problem that seems to be across all of wordpress, who would I contact? I posted another forum a few days ago with 0 response to a WP backend issue.
Thanks everyone! I have subdirectories/folders, and am trying to make domain.com show up instead of site.com/domain as an example.
Okay…
Don’t FORWARD domains, for one. PARK site.com on top of domain.com. The very first goal is for site.com to pull up domain.com with a message that the site doesn’t exist.
Once you do that, THEN you can mess with WP π
Remember, you’re doing three things.
1) Telling the world that site.com lives on the server with domain.com
2) Telling your SERVER that site.com uses the same files as domain.com
3) Telling WORDPRESS that when someone’s looking for site.com, show them domain.com/sitenameYou need to get ’em all right to work.
(and you would make a post in the forums about a ‘backend’ issue, but most of the time it’s not a WP bug but a conflict with a plugin/theme.)
thanks! And this issue is a WP bug, has to do with deleting pictures from the backend. Error across multiple themes for me…..I’ll try this later tho thanks!
I still can’t get anything to work. Can it not be done easily with htaccess? I’ve been trying that too but so far nothing
I’m waiting on Godaddy to forward it over to the nameservers then waiting for that page not found as you say, but they’re taking forever. I think everything else is done but number 3. I have nameservers being forwarded, parked with my other registrar….Its just sitting in the html main folder so not sure if i should forward it further
I’ve not gone into site.com/folder to add over the site yet, but i think that is the last step, to tell /folder to live at site2.com ?
I’ll let you know if I get it sooner but I hope I’m getting there, thanks!
ugh, I’m using “WP Multi-Network” and new install and everything. Figured I’d try through again and when I did, now I forwarded a site over to that domain but when I did the backend broke, so now I can’t move the site back to the main directory……it’s just stuck outside the box where I can’t click it and move it back.
I’ll try to use another plugin to see if i can do this easily but I ended up seeing error connecting to database on my site2.com….pretty sure I have more work to do
The topic ‘WordPress Multisite Multidomain….does it work anymore?’ is closed to new replies.