Installing Wordpress on a domain and in a subfolder

dogmann11

Junior Member
Joined
Jan 26, 2010
Messages
191
Reaction score
57
I would like to ask the experts here on blackhatworld about a simple question I have about installing Wordpress. I recently achieved a masters degree in data science and I want to create an online portfolio to show off my programming and projects to prospective employers.

My plan is to install Wordpress on my main domain - where I can post a few articles pertaining to data science in general - recent news etc. I also want to install Wordpress in a subfolder titled something like my name - portfolio, to show off some coding projects and what I have done on Kaggle and DataCamp, plus what I have played with on my own. Both Wordpress installations would have the same theme.

Do any of you guys see a problem with this plan?

A little more info. I have done some programming in python but I have done most of my work in R. R is not the multi-tool that python is but it's still powerful. There are packages in R for just about everything - even web development and web scraping. I don't yet know if code in R can rival something like ScrapeBox but I think there is potential to write something for a particular campaign or task for sure. Python, Java, and R are all open-source and free. I suggest that anyone here interested in programming but have not taken the plunge to download and play around with any of these programming languages, especially python.
 
Tl;dr; it is better to not have one wp installation inside another. You will have lots of problems that way. For example htaccess rules might not work as expected.

It is better to have two folders in the same level (e.g. /var/www) and having two different domains (or, one domain and another sub domain) using virtual hosts. If you just wanted to have site.com/anotherblog, then why not have a different post type instead of having a separate installation? Or a different category instead of a different post type.
 
Tl;dr; it is better to not have one wp installation inside another. You will have lots of problems that way. For example htaccess rules might not work as expected.

It is better to have two folders in the same level (e.g. /var/www) and having two different domains (or, one domain and another sub domain) using virtual hosts. If you just wanted to have site.com/anotherblog, then why not have a different post type instead of having a separate installation? Or a different category instead of a different post type.
I did not understand everything you said there, but I get that maybe I would be better off to install my portfolio in a subdomain, like www.myportfolio.mymaindomain.com Thanks.
 
I did not understand everything you said there, but I get that maybe I would be better off to install my portfolio in a subdomain, like www.myportfolio.mymaindomain.com Thanks.
Yeah, correct. Or, mydomain.com will have the main post type (which is "post"), and mydomain.com/portfolio will have another post type (let's call it "portfolio"). Google "custom post types wp". I am sure there's a tutorial for this.

Most importantly, try to avoid putting one wp installation under another. It is very hard to manage as per my experience.
 
One single theme can handle it. From the Wordpress panel just create a page with the /portfolio path.
 
Yeah, correct. Or, mydomain.com will have the main post type (which is "post"), and mydomain.com/portfolio will have another post type (let's call it "portfolio"). Google "custom post types wp". I am sure there's a tutorial for this.

Most importantly, try to avoid putting one wp installation under another. It is very hard to manage as per my experience.
Thanks, I am not familiar with 'post type', but I will check it out.
 
Not a wise idea to have a WP installation in root as well as sub folders.

As mentioned, you can achieve this with just one Wordpress installation by making use of taxonomies in a single theme. For example, you have "posts" but some themes offer a "portfolio" section too.

If you still wish to, you could take the URL of the portfolio section and map it to a sub domain.
 
Why do you want to install two wordpress?

You can always use portfolio category and write all posts under that.

If you want, you can alway customer portfolio category page and posts under that category.

Why do you want to maintain two wordpress?
 
install one wordpress on your root domain : example.com
install another wordpress on a sub domain for your portfolio: profile.example.com

both are separate and will not interfere with each other.
 
Back
Top