Multiple wordpress sites using the same files? - wordpress

I want to automate the creation process. My idea is:
1- the client creates an account in my site
2- I confirms this account and creates one wordpress instalation to my client.
3- The client logs into the admin area and chooses one pre-fixed theme and fills the wordpress with content.
Ok. My doubts are related with the file structure to this project.
If I have 5 clients, can I use 5 different sql tables connected to just one wordpress archives directory?
See that would be 5 different sites with different themes and different databases using the same files.

You should also check out wordpress multisite. You may find that the functionality is already there, and all you have to do is unlock it.
A multisite build will allow each user to have a completely custom site, and if you want, you can theme all of the sites under the same theme.
http://codex.wordpress.org/Create_A_Network

Related

How can I setup multiple wordpress installs on one domain?

I wish to set up 2 wordpress installs for the same website. One for US english and one for UK english. They need to be more bespoke than just using a language plugin and so I will use 2 similar themes.
Both need to be on the same parent domain "foo.com" one will be foo.com/en-gb and the other foo.com/en-us.
I can't work out how to go about this efficiently.
A WordPress multisite network allows you to run and manage multiple WordPress sites from a single WordPress installation.
You can create new sites instantly and manage them using the same username and password. You can even allow other users to signup and create their own blogs on your domain.
You can efficiently maintain your two instances with whatever the languages you need
foo.com/en-gb and foo.com/en-us
Please check wordpress codex for more information.
you shoud see Wordpress multisite, take a look here https://codex.wordpress.org/Create_A_Network?

How to link 2 wordpress websites

Is there any way or pluggin to link 2 wordpress websites together which means when i publish a post in the first site, the second one publish the same post automatically.
notice that 2 sites on the same host.
thanks in advance.
I have looked into this few months ago for a project which one of the requirements was to automatically duplicate posts between Wordpress sites, short answer is yes, but out of the box you can't.
Long answer:
Yes, you can have three different scenarios:
You can clone posts manually through different blogs sitting in a multi-site installation using the Multisite Post Duplicator plugin, this however requires you to move both websites within a single installation of wordpress and make them run into multi-site mode. Also, you will need to manually duplicate them.
You can install on the second website a WPAuto plugin (there are few options out there, so I am not going to link every single one) which allows you to import automatically some RSS feeds into your second website. However RSS feeds must be enabled on the first website to make these plugin fetch correctly the content, on top of that the content won't be created instantly but it will be fetched after a certain amount of time, (5/10 mins interval, maybe more, according to the plugin and host settings)
You can develop something custom, you can open up a REST endpoint on the second website and through the Wordpress APIs create programmatically a new post for each request received. On the First website you need to hook your Publish post function to send the data across to the second website to process it. As far as I am aware there are no plugins which does that so you'll have to do something on your own, requires a bit of time and you need to keep in considerations all the security implications in doing that.
Needless to say that I strongly hope you have access to both websites and the content you are trying to clone is yours or you have been authorized to republish it from the original author.

Would like to integrate Cakephp project with Wordpress. Wordpress should be used for login/description of the another system

Would like to integrate Cakephp project with Wordpress. Any ideas how to do it best?
It should be my created information system which several pages could be launched from the Wordpress website.
Would like to have everything under one domain - Wordpress website blog (for describing the system) and the system itself.
At the moment I have my information system and bought a Wordpress theme also. Need Wordpress functionality to enrich my current information system based on CakePHP.
The need is to use Wordpress as the login, description, documentation mechanism. That's why I'm not sure how to do it under one domain the best way. Just need consulatancy how to make these two systems with their own databases to work together withinn one domain name.
If more specific - one of the Wordpress page should be the login page of my information system which is handled by the CakePHP MVC. Is that possible?
Maybe it could be done similarly to this approach:
http://www.eiosys.com/blog/solved-install-run-integrate-wordpress-blog-alogside-with-cakephp/
Or maybe here is almost what I need:
http://www.abhinavsood.com/install-cakephp-in-subdirectory-of-wordpress/
Any better ideas?

Load content (FRONT-END) from two separate WP installation

I'm struggling in an idea to have one main site (possibly WP but not necessarily) which shows contents taken from 3 or more separate WP installations sharing the same DB. The aim is to completely restyle an old (huge) portal and make it as a hub of contents with a vertical structure (News, business, real estate, etc...) each of these vertical site is a separate WP installation. I've currently setup a test environment composed of 2 separate WP installation sharing the same user table, that means a backend user can login in one part and move to the other, that's the first part. Now the problem is how to build the front-end. Is there a way to query the different WP installations to show contents taken from all of them??...
Any idea would be much appreciated.
P.S. I'm not using Multisite.
in WordPress 3.0 there is now a native ability to create multiple blogs, referred to as a network of sites. This is because the codebase for WordPressMU was merged into core.
See this page on how you can create a network.

Managing 2 websites from 1 admin panel

Is it possible to control 2 different Drupal website from 1 admin panel? 2 different domain, but on same host-server.
one of my client came up with the idea and I wasn't sure if it can be done.
Appreciate advices! Thanks a lot!
If you're just trying to have two domains point to the same Drupal installation (e.g. http://example.com/ and http://example2.com point to the same Example Drupal website), this is supported out of the box as long as you don't use a multisite setup.
That is, normally, you'd just stick your settings.php file in sites/default/. If you did that, any domain that's pointed to the Drupal directory will use the same Drupal site. You don't need to do anything else.
If you've stuck your site in sites/example.com, you could create a symbolic link with the name of the other domain; i.e. you'd have sites/example.com and a symbolic link to it called sites/example2.com.
If you're trying to run two disparate sites through the same admin panel, you can't do it per se: that is, you can't manage most aspects of Drupal through its default administration system because it's not designed to do that.
However, if you're trying to simulate something like Plesk or Cpanel—that is, you just want to easily manage Drupal deployments using one control panel—there is a project under heavy development called Aegir. I've used it on a few different occasions and it works pretty great, but it's a somewhat involved setup process.
With http://drupal.org/project/domain you can simulate two websites. Is not actually two different Drupal installation.
You can take a look http://drupal.org/node/346385 for more information about the different multi-site options.
No, not that I am aware. As well as the content, all the administration aspects of the site are stored in the site's database, so the admin area and the front end of the site are joined at the hip! 1 database per site, so 1 admin area per site.
There is Aegir http://www.aegirproject.org which is a multi-site manager dashboard system. It's more for creating and managing the site than for managing content, but it might be what you're looking for.

Resources