Welcome to WebmasterWorld Guest from

Forum Moderators: buckworks & webwork

Message Too Old, No Replies

Multiple parked domains, redirecting to main domain - .htaccess - mod

use htaccess and mod_redirect to show master domain name

3:28 pm on Oct 25, 2010 (gmt 0)

New User

5+ Year Member

joined:Oct 25, 2010
posts: 1
votes: 0


I have one master domain www.solosystem.co and two parked domains;

I would like all users who go to the parked domain to be redirected to the master domain. I have managed to get this working for solo-system.co.uk but not for the other domain (solosystem.co.uk). What am I doing wrong?
PS I found the original code on this forum and modified it. Perhaps I have modified incorrectly?

RewriteBase /
RewriteCond %{HTTP_HOST} ^(www\.)?solo-system\.co.uk
RewriteRule (.*) http://www.solosystem.co/$1 [R=301,L]
RewriteCond %{HTTP_HOST} ^(www\.)?solosystem.co.uk
RewriteRule (.*) http://www.solosystem.co/$1 [R=301,L]
6:44 am on Oct 26, 2010 (gmt 0)


WebmasterWorld Administrator phranque is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Aug 10, 2004
votes: 106

welcome to WebmasterWorld [webmasterworld.com], lukeharris!

what response do you get for a HTTP request?
did you check your whois and DNS configuration?
have you tried to ping that domain?

as far as your rewrite code, you should escape all the literal periods in the patterns with backslashes.

added: when i tested the response for your "parked" domains they both 302 redirect to your canonical domain.
this doesn't seem possible if you are still using that code.

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members