question regards to sub-directory site

1 post / 0 new
#1 Wed, 03/04/2015 - 06:21
praneeth87

question regards to sub-directory site

Hello,

I have question regards to sub-directory. scenario is lets say I have example.com I wants to have different sites to run under example.com/uk | example.com/au ..etc. ( I don't wants to use sub domains because sub sites SEO won't inherited to main domain. )

I know when you create server for example.com file location would be /home/wordpress/public_html. so main site code files would be at /home/wordpress/public_html/* then when I create sub site it be like /home/wordpress/public_html/uk/* or /home/wordpress/public_html/au/*

1) Is it possible to have ?

example.com /home/wordpress/public_html

example.com/xxx /home/wordpress/xxx/public_html

2) or at-least?

example.com /home/wordpress/public_html/main

example.com/xxx /home/wordpress/public_html/xxx

I #2 think this could be archived via virtual host, can anybody please help me with solution.

Thank you in advance.