Sudomain Redirect Problem
-
Hello, I am having what I would have assumed to be a problem with a simple solution but it appears to be eluding me. I am trying to setup a simple redirect of a subdomain of one my my multisite installs. The redirect will be going to an iTunes feed. I tried to use a CNAME record but it appears that this does work with the iTunes url.
I Tried to add the following to the root .htaccess file and that doesn’t seem to be working either. I don’t know if it’s a problem with the .htaccess file or if I’m going about this the completely wrong way.
any help would be greatly appreciated.
#Domain Specific Redirects
RewriteEngine On
RewriteCond %{HTTP_HOST} ^(subdomain\.)?domain\.org [NC]
RewriteRule ^(.*).html$ https://itunes.apple.com/us/podcast/podcasturl/ [R=301,L]
- The topic ‘Sudomain Redirect Problem’ is closed to new replies.