I have a PHP Laravel application hosted at xyx.com. Now I am setting up a blog for my application at xyz.com/blog. This blog I want to host at Wordpress.com so that my blog is managed by Wordpress for me.
xyz.com/blog -> xyz.wordpress.com
I tried to setup some redirect in the Routes -
Route::get('blog/{whatever?}', function($whatever = null) {
$myurl = "https://xyz.wordpress.com/".$whatever;
return Redirect::to($myurl);
});
But now the Wordpress URL is visible to any visitor. How do I redirect it such a way that the URL that the visitor sees is xyz.com and not wordpress.com?
I do not wish to use IFRAMES as they have SEO disadvantage. I also do not wish to download the pagecontent from Wordpress on the serverside and serve the content as it will be slow.