Need Some Help / .htaccess / Concrete5

ISAPI_Rewrite is Apache mod_rewrite compatible URL rewriter for Microsoft IIS
User avatar
Posts: 1
Joined: 16 Dec 2014, 19:15

Need Some Help / .htaccess / Concrete5

16 Dec 2014, 19:20

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?

User avatar
Posts: 871
Joined: 12 Mar 2012, 09:54

Re: Need Some Help / .htaccess / Concrete5

17 Dec 2014, 06:30

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]

Return to ISAPI_Rewrite 3.0

Who is online

Users browsing this forum: No registered users and 13 guests