OutFront Forums
     Home    Register     Search      Help      Login    

Sponsors
Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax
Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.
Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Follow Us
On Facebook
On Twitter
RSS
Via Email

Recent Posts
Todays Posts
Most Active posts
Posts since last visit
My Recent Posts
Mark posts read

 

301 Redirect for Parked Domain - the Best Way?

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> Search Engine Optimization and Web Business >> 301 Redirect for Parked Domain - the Best Way?
Page: [1]
 
 
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!

_____________________________

womble

 

Posts: 6285
Joined: 3/14/2005
From: Living on the edge
Status: offline

 
RE: 301 Redirect for Parked Domain - the Best Way? - 10/9/2009 9:43:31   
You're right - a .htaccess redirect is much safer than the HTML redirect, which has developed a rather bad reputation with the search engines because of people trying to trick them.

To redirect particular pages, you'll need to use this in your .htaccess file:

Redirect 301 /oldpage.html http://www.mynewlocation.com/newpage.html


You'd need to do that for each page specifically that you wanted to redirect to a new page name.

Once you've finished though, don't forget to check everything's working okay using a check server headers tool...and of course make sure you make a copy of your .htaccess file before you start working on it, just incase something goes wrong. :)

_____________________________

~~ "A cruel god ain't no god at all" ~~
~~ Erase hate. Practice love. ~~

(in reply to Jordan)
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"


(in reply to Jordan)
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.



_____________________________


(in reply to treetopsranch)
Page:   [1]

All Forums >> Web Development >> Search Engine Optimization and Web Business >> 301 Redirect for Parked Domain - the Best Way?
Page: [1]
Jump to: 1





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