Need Some Help / .htaccess / Concrete5
2 posts
• Page 1 of 1
Need Some Help / .htaccess / Concrete5
Hi all. First post. I need some help getting some vanity domains to redirect to a sub-page. Using Rewrite3. Here's the scoop...
I need the .htaccess modrewrite code to have the domains:
http://www.domainalpha.com OR
http://domainalpha.com
Redirect to:
http://www.domainalpha.com/cities/alpha/
Obviously I don't want to create any endless loops. Any gurus out there willing to help?
I need the .htaccess modrewrite code to have the domains:
http://www.domainalpha.com OR
http://domainalpha.com
Redirect to:
http://www.domainalpha.com/cities/alpha/
Obviously I don't want to create any endless loops. Any gurus out there willing to help?
Re: Need Some Help / .htaccess / Concrete5
Hello,
Here are the rules for you:
RewriteBase /
RewriteCond %{HTTP_HOST} ^(?:www\.)?domainalpha\.com$
RewriteRule ^$ http://www.domainalpha.com/cities/alpha/ [R=301,NC,L]
Here are the rules for you:
RewriteBase /
RewriteCond %{HTTP_HOST} ^(?:www\.)?domainalpha\.com$
RewriteRule ^$ http://www.domainalpha.com/cities/alpha/ [R=301,NC,L]
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 13 guests