I have a rather general but very important question. I have built a main website and an eShop for a client. The main website is in Wordpress and I have to find a platform for the eShop, but let's say it's also a Wordpress theme.
Can I install 2 wordpress sites in my hosting server? So for example, the first one will be www.company.com/website and the other being www.company.com/shop.
Yes you can: Installing Multiple Blogs « WordPress Codex.
While all the previous answers are technically correcct - they will have you doing twice the work that is actually needed for your desired outcome (as in two installs, two upgrades, two sets of security checks, two databases, two admin panels... you get the idea - two times the work, all unnecessary).
Since Wordpress 3.0, the WordpressMU features have been integrated into the core. This allows you to run multiple Wordprsss 'sites' from a single install.
Sites can be served from their different domain, sub-domains, or in your case different sub-directories within the same domain and server.
Full information on how to achieve this is available from Wordpress Codex:
Create A Network
Just install one wordpress app in your root directory and create the other directory and install it there, there should be no problem.
Keep in mind that if you are routing around a port 80 blockade (aka using a different port to host your site) then Multi-site WILL NOT WORK. In such an instance multiple WP installations seem to be the ticket.
You can choose a directory relative to your root domain when installing wordpress on your site.
Related
I want to update one of my sites ( https://mcqacademy.com/ ) into directory base multisite. Problem is - the basic way of upgrading an existing Wordpress site to multisite is to make a sub-domain base multisite.
I want to know is there any plugins or tutorial or any pro resources that will make my site to directory base multisite so that I will not need to transfer my existing data (post, taxonomies, meta etc) manually ...
Again,
Because my installation is not new, the sites in my WordPress network must use sub-domains. But I want sub-directory base network. See the screenshot -
Thanks in Advance!
Article in Codex: https://codex.wordpress.org/Create_A_Network
"You are given the choice between subdomains and subdirectories. Except when one is restricted by existing settings and restricts one's options. "
and restrictions https://codex.wordpress.org/Before_You_Create_A_Network#WordPress_Settings_Requirements
"You cannot choose Sub-directory Install (for a path-based network) if your existing WordPress installation has been set up for more than a month, due to issues with existing permalinks. (This problem will be fixed in a future version. See Switching network types for more information.)
I currently have a website up and running that is my freelancing website. What I wanted to do was create a testing subdirectory on the website.
So for example my site would be:
website.com
I want the testing site to be: website.com/test
I need this test to be private and require a password to view, as well as be a different installation of wordpress so I can manipulate it without editing my main website. Is this possible? Currently I have created a test directory from the cPanel that requires a password but it just brings me to a 404 not found page.
I would also like to create more, public, instances that I can use as a portfolio until I get more real clients. So for example I would like to have my site be: website.com/themeOne
Is any of this possible, or am I out of luck? Please let me know I would greatly appreciate any help. Anything I found found online thus far has either not been relevant or has not worked.
You can achieve this by setting up a wordpress multisite installation. I currently use this to host all my clients.
Will work like this.. Main site is website.com
Depending on how long you have had that site set up will determine whether your multisite install will be a subdirectory or a subdomain. If you have had your main site for a while it will be subdomains. ie. xyz.website.com
You will have to set up a wild card subdomain on your server though...so keep that in mind.
Here is the documentation on setting up a wordpress multisite
https://premium.wpmudev.org/blog/ultimate-guide-multisite/
You can install as many WordPress instances as you like in subfolders example.com/test/ or subdomains test.example.com in one hosting account; see http://codex.wordpress.org/Installing_Multiple_Blogs. (You are, of course, limited if your host does not support subdomains. And you may find lots of sites with lots of traffic will slow your whole hosting account.)
For these separate WordPress installs, you can use the same database; simply give each WordPress install a different database table prefix in wp-config.php. https://codex.wordpress.org/Editing_wp-config.php Or, give them all the installs a totally different databases, only limited by your hosting account.
To control access to a WordPress site, there is no need for access control in .htaccess or via Cpanel; use any one of a number of plugins that allow you to restrict access to anyone not logged into WordPress. See https://wordpress.org/plugins/search.php?type=term&q=password
And you can still control the user's role when they are logged into the site with one of those plugins, i.e. editor, administrator, etc., from within WordPress. That's because you want to give a client a Subscriber user level so they can simply login and view the site, rather than Administrator, who can see posts, plugins, etc. See https://codex.wordpress.org/Roles_and_Capabilities
There is no need for WordPress Multisite, unless you want to go that way: see https://codex.wordpress.org/Create_A_Network But be aware that MS requires more server and DNS configurations if you want to use Domain Mapping: https://wordpress.org/plugins/wordpress-mu-domain-mapping/
I am about to develop two websites using wordpress with its multisite functionality. So www.domain1.com and www.domain2.com should point to the same wordpress installation.
The problem I have is that the domains are in productive use, so I cannot make them point somewhere else until development is not finished. I also do not have (and do not want to buy) two unused domains to create the develop setup, so what I would like to know is:
Can I setup subdomains for development and change it into »real« domains later on?
What I would like to know is how to setup the project so that after development is finished, deploying is as painless as possible. The project setup should be close the »real world scenario« it is meant for as possible and I am interested in any kind of hints, advises, links and stuff which guides me setting up the projects.
Which are the pitfalls, where are the »dangerous« parts?
Greetings...
I'd suggest the following route:
Install the Multisite with a sub-domain set-up in a third domain that will be the Main Blog (example.com). In your host, you'll need Wildcard subdomains enabled. Otherwise, each sub-domain has to be manually created. With the wildcard, creating a new site is a matter of clicking Add site.
Then, in /wp-admin/network/sites.php, add two sites: domain1.example.com and domain2.example.com. And develop until they are ready.
You'll need the plugin WordPress MU Domain Mapping to map Top Level Domains to the sub-sites/sub-domains. With it, domain1.example.com will be a fully working domain1.com.
After all this is in place, is just a matter of changing the NameServers to point to the Multisite addresses.
Well, it seems simple but Multisite is not for the faint of the heart. But, one of WordPress.org wizards, Mika Epstein, aka Ipstenu, has two great eBooks that cover lots of ground. Please, check the following Answers in WordPress StackExchange where I cite them.
An interesting case study document.
Plugins of interest:
BackupBuddy: paid solution, although it's considered Beta, exporting and importing sites out and in the networks works ok.
Add Clone Sites for WPMU (batch), in the Repository, although hasn't been updated in a while, still works fine, doesn't exports/imports, but useful for duplicating sites inside the network.
I have a website, which runs an integrated wordpress blog, the wordpress was installed by my hosting company and it was a one click install. I then went into my FTP and took all the files from the original style and edited it to look like my website and still function. this is all well and good.
However, I would like to run another page on a separate wordpress blog (so there is basically two seperate archiving systems in place as one of the pages is a blog, and the other is articles which are produced monthly).
is there anyway to do this with the one click install, for example through the WP admin Control panel?
Thanks for your help in advance.
You can use Wordpress MU (Multisite) to accomplish this or just install another Wordpress instance.
http://codex.wordpress.org/Create_A_Network
Are the two instances you want running on the same domain? Different domains?
In regards to the one click install from your web host, I'm not sure which web host it is or if there are any options for this on there.
Please clarify if you have any further issues. :)
Yes you can use two blogs by the two methods
Install wordpress on SubDomain like site.domain.com
Install wordpress on SubDirectories like domain.com/site
And then you can use both of your site in one another according to your needs and requirements ...
I just upgraded one of my many blogs to Wordpress 3.0 and I was glad to see that I now should be able to run all my blogs from a central installation.
I have the multisite stuff configured and up and running, and can create new blogs as I wish.
My host is set up to handle wildcard subdomains, but I'd like to map my already existing, proper domains to sites instead. How do I do this?
Redirecting the domains is not an option.
There's a domain mapping plugin:
http://wordpress.org/extend/plugins/wordpress-mu-domain-mapping/
If you download the dev version, that will work with 3.0, I'm told:
http://plugins.trac.wordpress.org/browser/wordpress-mu-domain-mapping/trunk/
There should be a download link at the bottom of that page.
Modrewrite is probably the answer, but without knowing more about the server and how wordpress is doing the multiple blog feature (I use it and have upgraded to 3 as well, but i haven't looked at it very closely), it's hard to give a specific answer.