I have three different URLS on the same server that need to share one WordPress 3.0.1 DB. I want to be able to add a new post from one main WP and the changes show up on the other two sites.
Is the change in config file (db table) enough?
First of all, I think you're confusing multisite and multiple Wordpress installs with one database.
Three Wordpress installs can pull from the same database. (But not "table", as you first said and I edited.) Multiple installs can work from the same database by using different table prefixes so each install doesn't collide with the other or get overwritten when the 2nd, 3rd, etc., installs get made. See Installing Multiple Blogs « WordPress Codex
But you're asking for trouble by trying to use three different URLs unless you go Multisite and share content in a different way.
What you should do is either use three Wordpress installs with three different table prefixes on one database with WordPress › FeedWordPress « WordPress Plugins to duplicate the content.
Or, Wordpress Multisite with three folders under one WP admin (requires a VPS with access to httpd) and WordPress › WordPress MU Sitewide Tags Pages « WordPress Plugins.
Or, Wordpress Multisite with three domains under one WP admin (requires a VPS with access to httpd and DNS changes for the separate domain mapping) with WordPress › WordPress MU Domain Mapping « WordPress Plugins and WordPress › FeedWordPress « WordPress Plugins to duplicate the content.
Be aware that duplicate content will also get your SEO penalized.
And, is this question so you can bid on this Elance job?: Have three URLS that need to share the same WP DB | Elance Job
Related
I've got wordpress site with installed theme. I want to create 2 sites with same theme, just differs only subdomain and menu and index page (just specific "page" in wordpress). How to resolve this? Multisite in wordpress or some other simplest way (or maybe multisite is the simplest way to do this)?
I've never used the WordPress multisite feature, but here's a good reference: https://codex.wordpress.org/Create_A_Network.
A multisite network is a collection of sites that all share the same
WordPress installation. They can also share plugins and themes. The
individual sites in the network are virtual sites in the sense that
they do not have their own directories on your server, although they
do have separate directories for media uploads within the shared
installation, and they do have separate tables in the database.
From this point of view, I think it is the simplest way of implementing the same theme in both sites. Also, if you install WordPress in two different folders of the same server it will be considerably slower than if you use multisite.
I'm in a bit of a pickle... Is it possible to do this if Wordpress is in a folder?
Forum:
domain.com
Wordpress:
domain.com/blog
Woocommerce:
domain.com/store
My main domain has a forum running on it so I can't put Wordpress in there.
So it's in domain.com/blog and the store is domain.com/blog/store or domain.com/blog/product which I don't want.
Please help me!
Any sort of solution is welcome.
I am not completely sure, but I think you have 2 choices:
A multisite wordpress installation:
You can manage 2 web sites In one Wordpress installation. Each web site will have his own URL. Reference: Wordpress MultiSite
You can Also have 2 separate wordpress Installations:
The first one can contain the second one (I have already done that with a wordpress/woocommerce production website, containing a test website for SSL certificate reasons).
Update:
You can set all WooCommerce pages as subpages of your WooCommerce Shop (store) page. When WooCommerce is installed, it creates 4 pages: You Will rename 'Shop' page in 'Store'. You will make all 3 other pages, subpages of 'Store' page. Then you will have to edit all end points urls and some WooCommerce permalinks. You might need to use some redirection rules too in .htaccess file. The only problem is that you will have domain.com/blog/store/ as main url for all woocommerce stuff, because your main wordpress install is domain.com/blog/.
i have 3 self hosted wordpress sites in same machine but each one uses different url as explained below.
publication.mysite.com (wordpress site)
info.mysite.com (wordpress site)
flipbook.mysite.com (wordpress site)
now mysite.com is our primary company's website. it is a sharepoint site. because of this i cannot create mysite.com as our primary wordpress site.
i want to keep publication.mysite.com as our primary wordpress site and under this site bring the other 2 wordpress sites (multi-installation).
below is what in am trying to accomplish.
all 3 sites should consume it's own mysql database
all should be pointing to it's directory
all 3 sites url should not changed.
all posts, and other data in all 3 sites must be retained.
how could i do this? i tried to follow wordpress multisite installation documentation but i am stuck because i do not know how to setup as per my domain requirement.
another reason why i want to do this because of search. i have a global site search plugin from wpmudev. we need the ability to search from any one of our site to other 2 sites. for example: if i am searching for a 'productA'in one site, i need to display all post related to 'productA' from other 2 sites as well.
if there is any better way to perform global search like i explained, then i would like to hear about it
Thanks for help.
Your network-wide search functionality will be difficult to achieve if you must use separate databases for each site. It will require development chops that most people don't have. I respectfully suggest you reconsider that requirement.
Multisite search, in a single database, can be done with a plugin. For example. https://wordpress.org/plugins/multisite-global-search/
A WordPress multisite installation is designed to host sites with varying URLs. The migration isn't hard to do. You set up the target multisite system with three sites (blogs, WordPress's documentation calls them) in it. Rig the URLs for each of them.
This document explains the path to follow. https://codex.wordpress.org/Create_A_Network Multisite's administrative menu offers ways to configure the individual sites.
You then export the content from the individual sites and import them, one by one, into the target sites.
WordPress is decently well documented. Read this for an outline of the process of migrating to multisite. https://codex.wordpress.org/Migrating_Multiple_Blogs_into_WordPress_3.0_Multisite
I need help in changing multiple wordpress instances installed in distinct subdirectories into a single wordpress installation with multisite activation. Let me explain my problem briefly:
example.com is my domain Hostgator shared hosting
example.com/ - Homepage as index.php my own designed php file
examole.com/university/ - wordpress 1st installation
example.com/school/ - wordpress 2nd installation
example.com/exam/ - wordpress 3rd installation
The reason why Idid this is I need different menus on each directory sites. I found no option t odo this in single wordpress.
Now I went through an article about wordpress multisite ; can I migrate all wordpress instances into a single wordpress with same folder having same site and contents ?
I currently have 200 posts on each wordpress and I don't want to lose the SERP results.
Is it possible to do without any effects and for all those sites ? I am the only admin.
Were I can have different menus and themes for each site on wordpress multisite ?
How to convert this in simple beginner level steps?
You can do it , but before you need to get backup for the all websites, also import all your posts from all the wordpress installation
Create a Network in your main domain , for your reference Create_Network
Then create your child website, based on the
Sub-domains — a domain-based network in which on-demand sites use subdomains
Sub-directories — a path-based network in which on-demand sites use paths
so your child website should be like
examole.com/university
example.com/school
example.com/exam
Once you have successfully created your child websites then there would be a separate wp-admin for each child websites in your Main wp-admin, once you get logged in as admin ,
At the left of your WordPress toolbar, My Sites is now the second item. There, all your sites are listed, with handy fly-out menus, as well as a Network Admin menu item. Under Network Admin you can use the Dashboard item to go to the Network Dashboard screen.
then you can import your posts (already exported from your old websites) on each child webistes as possible ,
Hope this is enough to do it
I'm attempting to setup a Multisite Wordpress Network, but one of the requirements is that each site needs to have their own custom slug in the URL. For example:
http://www.site1.com/blog/
http://www.site2.com/reviews/
http://www.site3.com/commentary/
Currently, so far as I can tell, there is no way of tailoring a per site slug. Domain Mapping is simple using the plugin Wordpress MU Domain Mapping (It's compatible with Wordpress 3+ Networks.) But what I really need is the added ability of those custom slugs. Has anyone seen anything of that sort?
I'll revert to a large collection of individual Wordpress Instances if I have to, but this network setup would be the perfect solution if I could get the slugs to work.
The slugs have nothing to do with your multisite setup. Look into modifying each site's permalink structure instead.
UPDATE
Maybe try to write your own rewrite rules?
The resulting research is that you can't do what I was after with the default build of Wordpress using the Multisite features and the Wordpress MU Domain Mapping.
The arrangement can work sub-directory separation of sites, but the only way to allow the sub-directory to exist for domain mapped addresses is to build an entirely new plugin that does the domain mapping with support for that, or to modify the Wordpress MU Domain Mapping plugin so that it has the support for it, effectively creating a new plugin out of it.