I've created a site using wordpress. I've two primary links within the site e.g. world wide web.mysite.com/siteone and world wide web.mysite.com/sitetwo and that i have handled just one blog contents. Ok now what I have to do is the fact that I wish to link exactly the same blog with various link such as this: world wide web.mysite.com/siteone/blog and world wide web.mysite.com/sitetwo/blog and should also have same content for links world wide web.mysite.com/siteone/blog-1 and world wide web.mysite.com/sitetwo/blog-1. Can you really achieve this, if so then how to achieve that? Otherwise then so what can I actually do for your?
Thanks ahead of time
The "home" link inside a WordPress installation is dependent upon a choice within the database known as
siteurl, so theoretically you'll have to make use of the same database on blogs and override the
siteurl around the two to really make it appear like two different websites.
A great way to begin with is define a continuing inside your wordpress-config.php, that ought to differ for websites:
define( 'MY_SITE_URL', 'http://yoursite.com/siteone/blog' );
After which write just one-line wordpress plugin that will simply give a filter towards the
siteurl. Something similar to this:
add_filter( 'option_siteurl', create_function( '$value', 'return MY_SITE_URL;' ) );
That's just the start, and when which works for you you will need to then rumble around your wordpress-content directory to make certain they're synchronized for websites, i.e. after uploading a picture to 1 blog you will need to copy the file in to the other one.
Used to do get two different websites working under one WordPress installation using two different databases, but getting two WordPress installations working line one site under two different domain names, that's tricky )
In the Search engine optimization perspective, it's smart to make use of canonical tag. This tag would be a new construct designed clearly for reasons of determining and coping with duplicate content. Implementation really is easy and appears such as this:
<link rel="canonical" href="http://www.yoursite.org/blog" />
This tag is supposed to tell Yahoo!, Bing, and Google the page under consideration ought to be treated as if it were a duplicate from the URL http://www.yoursite.org/blog which all the link and content metrics the engines apply should technically regurgitate to that particular URL. The canonical URL tag attribute is comparable in lots of ways to some 301 redirect from an Search engine optimization perspective. Essentially, you’re telling the engines that multiple pages should be thought about as one (that your 301 does), without really redirecting site visitors towards the new URL (frequently saving your development staff trouble).