|
| |
|
|
Jordan
Posts: 132 Joined: 1/8/2002 Status: offline
|
301 Redirect for Parked Domain - the Best Way? - 10/9/2009 8:51:20
I've recently taken over management of a site and am dealing with something new. Their site is hosted with OLM (Apache server) and they have a primarydomain.com and then a parkeddomain.com. They are indexed in Google for all of their site pages under both domain names. I'm working on a 301 redirect in the .htaccess file to point the parkeddomain.com to the primarydomain.com. I know how to 301 redirect the entire parkeddomain.com to the primarydomain.com, but I'm not certain if this is the best way to go. Their parked domain has hundreds of inbound links. Is there a way to 301 redirect these individual pages to the new pages. For example: www.parkeddomain.com/about.html to www.primarydomain.com/new-aboutpage.html I hope this makes sense. What I don't want to do is loose the value of all those links out there. I'd appreciate some advice on this! Thanks!
_____________________________
|
|
|
|
treetopsranch
Posts: 1651 From: Cottage Grove, OR, USA Status: offline
|
RE: 301 Redirect for Parked Domain - the Best Way? - 10/9/2009 11:37:50
Does that site use Frontpage extensions? If so, be very careful where you put that redirect info in your htaccess file.
_____________________________
Don from TreeTops Ranch, Oregon "I've got a taste for quality and luxury"
|
|
|
|
Jordan
Posts: 132 Joined: 1/8/2002 Status: offline
|
RE: 301 Redirect for Parked Domain - the Best Way? - 10/9/2009 12:09:05
No, no fp extensions. I ended up using the following:
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www.old.com
RewriteRule ^(.*)$ http://www.new.com/$1 [R=301,L]
RewriteCond %{HTTP_HOST} ^old.com
RewriteRule ^(.*)$ http://www.new.com/$1 [R=301,L]
RewriteCond %{HTTP_HOST} ^new.com$
RewriteRule ^ "http\:\/\/www\.new\.com\/" [R=301,L] Not sure if that's the best way or not, but for now it seems to be working.
_____________________________
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|