I have a website set up for my organisation under
www.mycompany.com (running on Amazon S3). I also have a WordPress blog set up under
blog.mycompany.com (running on a separate LAMP server).
For SEO purposes, our marketing department has asked to set up
www.mycompany.com/blog to go to our blog main page.
Our website is currently hosted on an Amazon S3 bucket, behind Amazon Cloudfront. I have managed to set up S3/CloudFront redirections successfully so that a basic redirection happens automatically, e.g.:
Which is all fine, except for the fact that WordPress shows
blog.mycompany.com as the subdomain.
Is there any way that we can still show in the URL bar the
www subdomain in place of
blog? e.g. so it still shows
Is there some way we can use
mod_rewrite or similar to alter the URL for the WordPress site?