You need to revise your last rule
RewriteRule ^blog(.*)$ http://blog.joesexample.com/$1 [R=301,L]
I think that should do it. Previously you were grabbing ‘blog’ and adding it to the end of the url.
Related Posts:
- Missing slash after moving site to subfolder
- Can’t Access Subdirectory
- change URIs of migrated site
- Problem with All in one WP Migration – only works the home page
- Why my wp site always redirecting to the old website path..?
- Improve wordpress security by hiding non public resources
- htaccess rewrite conflict with wordpress rules and ssl
- adding rewrite rules in .htaccess
- Plugin to edit htaccess file
- Remove year and month in URL using .htaccess
- Unable to access WP admin
- Move wordpress to folder without changing urls
- Using WordPress only for the backend, and using AngularJS as a frontend
- How to restrict access to wp-content, wp-includes and all sub-folders
- Two domains on one WordPress Installation
- Protect Upload Folder Files With Ampersand Problem
- Is it possible to dynamically redirect URL using htaccess?
- .htaccess and WordPress Admin Bar
- Keep getting 401 error from WordPress on AWS Lightsail
- Blocking access to wp-login via htaccess not working
- Setup Permanent 301 Redirects after moving to Https [closed]
- Force www to non-www on a subdomain in WordPress?
- How to Redirect huge numbers of URLs to another URLs?
- WP site URL changed to have HTTPS but still homepage does not redirect
- Struggling with add_rewrite_rule
- Giving WordPress its own subdirectory – nginx
- Cannot mask WordPress page URL using .htaccess
- need a help for modify .htaccess rule [closed]
- How can I make an htaccess file on a Mac? [closed]
- Restricting user login by IP address
- .htaccess ‘down for maitenance’ and WordPress
- WordPress overrides custom 404 page with it’s own
- New installation can’t be found due to htaccess of the original non-WordPress site
- Access files at new location using old file paths
- Fixing custom 404 pages broken by WordPress in a subdirectory
- Case insensitive header params for API request
- I can’t access the admin panel links as I click it shows 403 error
- 301 Redirect domain Sub-folders to Subdomain subfolder
- Drawbacks to using Options -Indexes
- How to hide login form if basic authentication fails?
- Override 404 page with htaccess
- Htaccess Rewrite reverts to default .htaccess file
- what could cause the htaccess file to be modified?
- change permalink structure with htaccess without SEO impact
- Site in subfolder – all pages work except home
- Can’t upload .htaccess after editing in notepad
- Directing subdomain to main domain and keeping the subdomain format with .htaccess
- Remove /sites/25/ from image URLS
- How disable canonical redirect wp-signup
- .htaccess RewriteRule always overwritten – how to prevent?
- Redirect old domain with query paramaters
- What might be removing my redirects from my htaccess?
- Forcing HTTPS with WordPress on AWS
- WordPress Example Code for Blocking Referrer Spam
- How could a .htaccess with authentication suddenly appear or change?
- WordPress .htaccess to consider blog as directory
- Force non-ssl on WordPress RSS feeds in htaccess, using cloudflare
- Password protect directory but not files
- Protect wp-login, but get an internal server error
- Local wordpress install only shows home page, all other pages Not Found
- WordPress is rewrite my htacces file. I adding a font rule
- Redirect within wordpress template/plugin
- Redirect wrong links WordPress
- fix 302 redirection error on https
- main-domain of wordpress keep redirecting to subdomain
- How to deny access to a particular wordpress site url
- Accepting special characters in querystring
- Centos 7.2 wordpress on going to /admin shows Forbidden You don’t have permission to access /wordpress/wp-admin/ on this server
- Multiple wordpress installations on same server
- Rewrite URL in address bar for a specific page [closed]
- Cannot access subdirectory subpages
- WordPress constantly running out of memory
- How can I create a smarter .htaccess file that will add a directory?
- .htaccess found in every folder
- Help with htaccess querystring rewrite
- How do I properly redirect requests to WordPress subdirectory?
- Azure WordPress deny access to xmlrpc
- Redirect default pagination page to template page’s pagination
- Increase .htaccess file upload without prompting error
- Install second wordpress in root subfolder, Error 404
- Leverage browser caching
- WordPress URL not working?
- How to direct users to a subcatalog
- .htaccess redirects for posts in new directory and new domain
- How to block wordpress admin by htaccess
- domain.in/wp-admin give the result to 403 Access to this resource on the server is denied!
- htaccess conflict between WordPress and password protected subdirectory
- Using subdomain as primary domain
- Restrict Content for only Contributors via .htaccess
- Redirect from domain.com to subdomain.domain.com
- MAMP.app & .htaccess – Can’t override after config
- register_post_type and register taxonomy and htaccess
- Cannot find webarh/malware redirect infection that only shows on Chrome
- Why ‘Authorization Required’ is coming on wordpress login
- Restricting direct downloads of wp content files, but allow them on the website.
- Forward blog requests to another URL
- .htaccess rewrite rule stopped working for wordpress site after moving server
- WordPress redirection
- Home page returns 404
- Browser Caching .htaccess