Creating multiple sites on Wordpress using subdirectories - wordpress

My client currently has a website on Wordpress which runs through a subdirectory (www.myclientsite.com/subdirectorysite1/). This website displays rental properties. They have asked me to create an additional website with an additional subdirectory (www.myclientsite.com/subdirectorysite2/) for a second prperty, and also create a new webpage for www.myclientsite.com which acts as a portal for the two property sites.
I have never done this before on Wordpress, and I've been exploring the possibility of using Wordpress Multisite. Does anybody have any experience with this? Or advice on what would be the best way to lay out these sites for both future page development, and daily management?

Yes, you can do this using creating a new folder 'subdirectorysite2' and then go for a fresh Wordpress installation.
If you have limited database creation access on the server, in that case, you can create a new template file on your existing WordPress theme and assign the new template to a page. After that change, the link of the page to subdirectorysite2. So that you can generate your desired URL i.e. www.myclientsite.com/subdirectorysite2/
And remember to modify .htaccess file as per your requirement.

You can use Wordpress multisite feature. https://codex.wordpress.org/Create_A_Network

Related

Add second website to wordpress

So I'm new to wordpress, and I'm managing a company's wordpress site while building another website for this company. They have paid for many plugins and themes in their wordpress account and I would like to use them for the new website. So my question is that what do I do in order to add this website from my local host to their wordpress account.
Should I just download their wordpress file into my laptop and create a new folder in that file? If so, then what?
First things first: If you're are building another website using platform other than wordpress, then you cannot use plugins and themes.
But if you're, just download the wordpress plugins and themes from old site. And then, place those to your respective themes and plugins folder. If you are working on existing site, then you may need the existing sql file to test in the identical environments along with the data. There are many plugins which can do that for you.
And most importantly, If you are going to build a website in wordpress, you should check out the wordpress basics first.

Is it possible to install Wordpress inside of Wordpress

I have a question. I have a Wordpress site that I built for a client and they were acquired and the company that bought them is shuttering the website and folding it into their existing site.
My website is based on Wordpress. I want to clone the client site and run a copy to show to potential new clients. If I have http://example.com and I wanted to put a Wordpress install inside of it at: http://example.com/demo/site or http://example.com/client_site. Is this possible? Are there any red flags or warnings that I should be worried about?
Thanks!
Yes you can do that, I have done this in serverwarrior It is an wordpress site and wooshop this is another wordpress site inside that.
Just extract the WordPress zip file inside the directory you are having your site wordpress and rename the new wordpress folder to any name you want.

Moving WP site to another domain

I have simple 4.2 WP site with theme Twenty Twelve and Polylang plugin ver. 1.7.6. in domain mysite.co.nf. Now I deciced to move it to another domain mysite.newdmn.eu. I have copyed all files from old domain to new one using FTP. Then have exported DB to SQL script. Have edited SQL script by replacing strings mysite.co.nf with mysite.newdmn.eu using Notepad++. Then I have imported this SQL to my new site DB, edited wp-config to connect to new DB and from first point of view site is running except several things:
No header picture. (Actually this is not problem, but strange..)
No multi language icons and it is not possible to switch between languages.
Can't open one page - new server shows that it not exists. This is simple text page that looks the same like other ones. Link of this page looks the same structure like other pages.
How to solve these problems?
And what is best practices while moving WP sites?
Edit SQL by using editor is always a bad way to update the domain url. Because themes and plugins may serialize php objects into string format and store it in DB. If you replace domain url by using editor, it may break your site.
WordPress codex mentioned : https://codex.wordpress.org/Moving_WordPress#Changing_Your_Domain_Name_and_URLs
If you do a search and replace on your entire database to change the
URLs, you can cause issues with data serialization, due to the fact
that some themes and widgets store values with the length of your URL
marked. When this changes, things break.
The suggested way is to use search and replace tool like https://interconnectit.com/products/search-and-replace-for-wordpress-databases/, or some backup plugin like Duplicator or Backup Buddy.
Also suggested this well written article about WordPress migration.
http://www.smashingmagazine.com/2013/04/moving-wordpress-website/
For me, I always do it by myself without using any plugins. My steps is as follows:
1.move all files under wp-content
2.import db
3.do search and replace by using https://interconnectit.com/products/search-and-replace-for-wordpress-databases/
Few times I had to update not only domain but also file path on server.
But the best you can do is using Backup Buddy (paid) or Duplicator (free) plugin (or any other that fits you, but those two are the best imo, and I do at least few migrations a month).

What's the proper way to upload another web folder into Wordpress?

I use Wordpress for my blog and currently has a project which has a web folder that contains HTML/CSS/JS/PHP (basic website from scratching).
I can run it using MAMP by localhost/project/index.html and want to add the whold website into my Wordpress blog as a seperate page like mywebsite.com/project/index.html.
What's the proper way to do that?
The proper way, is to get a separate domain or create a subdomain for that second site..
However, it should be possible to just create a folder in the root of your existing domain, and upload the files into it..
If its meant to be a part of the existing website, the proper way would be to create a separate template for that page.
http://codex.wordpress.org/Page_Templates

Website with 2 separate WordPress blogs

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 ...

Resources