Forum Moderators: phranque

Message Too Old, No Replies

301 Redirect

301 Redirect, .htaccess

         

richyrich38

8:34 am on Jul 10, 2009 (gmt 0)

10+ Year Member



Hi guy,

Dont really know too much about this subject so was after some help and advice

I have an old site which has a good PR, I have now redeigned the site and rebranded
what is the best way to rediect traffic to my new site

www.oldsite.com to www.newsite.com

I also would like to redirect people so if they go to a certian page on the old site they will be redirected to the new site page, The only problem is the old site has more pages than the new one. so many pages will be redirect to one page,

www.oldsite.com/sub.htm , www.oldsite.com/sub1.htm, www.oldsite.com/sub2.htm all redirect to www.newsite.com/sub

thanks for any help in advance

g1smd

6:48 pm on Jul 10, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Is the new site hosted on the same server as the old one?

Does the site use the same domain name as before, or a new one?

It is far better if *no* URLs change when a new site is designed, but if they do, both www and non-www old URLs need to be redirected to the new.

So, fill in some more details and show your best effort code so far. You'll likely need to use multiple RewriteRule instructions here.

jdMorgan

6:56 pm on Jul 10, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



This is primarily an SEO question, and you'd be better off searching the search-engine-related forums here for previous threads on this subject, and then posting there once you've narrowed down the focus of your questions.

Once you know what you want to do, then we here can help with implementation questions if needed.

In general, redirect each *important* old URL to the equivalent new URL. Make the unimportant ones return a 410-Gone or let them return a 404-Not Found. I'd recommend against redirecting more than one of the majority of the old URLs to the same new URL -- that will look spammy to the search engines. If you have a few where you need to do this, fine, but I wouldn't make a habit of it.

However, that's my one opinion, and you should seek more -- The FAQs in our Google News forum would be a good place to start.

Jim