You are using Cloudfront in front of S3, so in order to mix in 2 sources of content you need to
-
on your blog.mycompany.com – add rewrites of blog/* -> /* so that your blog can handle blog.mycompany.com/blog/ urls well.
-
add new blog.mycompany.com as an Origin in “Origins and Origin Groups” tab.
-
add new “Behavior” for /blog* path pattern and point it to your newly created “blog.mycompany.com” origin.
-
if you get redirects from blog (e.g. WPMU can do that) – hack $_SERVER hostname variable in your wp-config.php and replace it
Related Posts:
- Share WordPress Login Cookies Between Two Subdomain Installs
- Sub domain redirection to taxonomy
- Load template for specific subdomain
- Serve HTTPS requests from subdomain
- Using subdomain m.website.com for mobile theme?
- How can i run the same WordPress install on multiple subdomains?
- Classic Conundrum: How do I map a Sub-Domain in WordPress? [closed]
- General Settings for WordPress Subdomain
- Moving a blog from a subdomain to a folder
- How to retrieve TLD domain for the current website?
- How to serve assets files (js, css, images) on a subdomain
- Moving WP installation form subdomain
- Will WordPress installed on a whole domain interfere with other files in a subdomain or subfolder?
- Network of subdomains [closed]
- Moving website from expired domain to an active subdomain
- Change the subdomain?
- How to redirect specific URL to Subdomain
- Two domain for one site not working in mobile
- Some posts from custom post type to subdomains
- WordPress subdomain mapping/”archiving” [duplicate]
- WordPress CDN Subdomain URL not accessible to the public
- How do I (re)design my corporate website in WordPress without downtime?
- change wordpress upload url to subdomain on xampp local
- Can I have a WordPress site stored on a subdomain of another website owned by me?
- Theme switch when accessed from sub domain
- Subdomains permalinks issues
- Relative Root Url For Sub domain name
- 2 WordPress install with same database
- How to make each category a subsite?
- How to Set up a Wildcard Subdomain for all WordPress Posts?
- WordPress cloned but frontend still displays http://old_wordpress_site
- How to load subdirectory mobile theme and redirect mobile devices to subfolder?
- Subdirectory mapping for a WordPress website
- WordPress deleting subdomain from the URL
- How can I move the subdomain to the root domain?
- Can I edit domain settings if I didn’t create the site?
- Issue while installing wordpress in subdirectory due to SSL [closed]
- Add subdomain for Vue.js application
- Question of the subdomain
- Can I use WP’s built in domain mapping with WP installed on a sub-domain?
- Create a new hyperlink to wordpress blog
- Changing blog domain name
- Single WordPress Installation with Sub domains
- Why is my subdomain returning a 403 status?
- Serve HTTPS requests from subdomain
- WordPress site with subdomain without multisite installation
- I have a question about the name of my blog [closed]
- Hide sub domain created for local CDN
- Change author URL from /author/xyz to a subdomain xyz.domain.com for each new registered users
- Development to production, how to move a development site from http + dev.example.com to a production site https + example.com?
- 404 Not Found The requested URL was not found on this server
- Emulator for Amazon Kindle
- Host the wp-admin on another domain?
- How to remove dates from existing permalinks?
- Using SMTP for outgoing mails (PHPMailer) on AWS instance?
- htaccess rewrite for author query string when WP is in subfolder
- Testing Multisites with vagrant or Can I use multisite with only an IP address (without domain name)
- WordPress multisite causing Error 101 (net::ERR_CONNECTION_RESET): Unknown error [duplicate]
- WordPress subdomain wp-admin redirects to main domain
- Non-wordpress subdomains on Multisite Installation
- How to add a custom redirect rule for subdomains?
- Possible to create a multisite network where the main site is non-WP?
- Change multi-site installation from sub-domains to sub-directories
- Can I use two different domain names with a WordPress multisite network?
- mod_rewrite empties QUERY_STRING if starting with number [closed]
- WordPress 404 on Subdomain
- WordPress Permalinks still not working despite all necessary settings
- Server Move: All pages leading home
- Start with multi-site feature now or later?
- Change htaccess to redirect to index.php in subfolder
- How to move wordpress to subdomain, keeping only .htaccess and/OR index.php in root domain?
- Use separate S3 buckets for separate sites in a multisite environment
- SEO Friendly URL on dynamic product page produced via shortcode
- How to rewrite wordpress urls with index.php in them
- Posting page on all subdomains
- Redirect to localhost after installing Multisite on server
- Changing wp login url without plugin
- One Domain, Two Installs of WordPress
- Creating a subdomain network in a subdomain
- How can i shift my chosen posts to a subdirectory?
- Redirect all subdomains to root domain
- Can’t create a subdomain network – and WP is installed in webroot, not a folder
- Subdomain is not working
- Why is home page content not displaying with this rewrite rule?
- How to make Subdomain work for product_tag?
- WordPress Multisite and how to apply sef urls only to specific sites
- Why does WordPress uses HTTPS for JS, CSS on EC2
- WordPress Multisite Network Subdomain
- Template hierarchy changes when custom post-type permalink leverages custom taxonomy
- How to Block WordPress from subdomain?
- How do I secure a subdomain using UCC SSL?
- how to exclude admin page from add_rewrite_rule in wordpress
- Function to rewrite URl in WordPress
- Would Amazon AWS Services be a good alternative to my current hosting provider?
- Can’t get pretty permalinks to work without index.php
- Generated URLs don’t reflect accurate URLs.
- Multi site root site installed on subdomain, with child sites as subdirectories
- Integrating WordPress for blog and other content pages in a web app
- Settings > Permalinks – mod_rewrite ineffective if expression not preceded by /index.php/
- Multisite subdomain microsite on secondary domain