Forum Moderators: phranque

Message Too Old, No Replies

How to fix page rank/links, from mirrored site

         

jpietrowiak

4:44 am on Jan 26, 2009 (gmt 0)

10+ Year Member



I had set up a tracking scheme in which I used a subdomain and mirrored my main site and sent visitors from an adwords campaign to the subdomain. Now I noticed there is much duplicate content in search engines. I also notice that many people have linked to my subdomain instead of the main website. So now I have to try to redirect page rank and all pages that link to the subforum to my main site. How can I redirect to main site. Do I have to use a 301 direct for everypage on my site in htaccess. It would be like 300-500 pages estimated. Is this the best method to retain all the info and get everything straightened out?

Yes I'm a dummy for doing this in the first place. Did not realize what issues it could cause at the time.

Thanks for your help

Quadrille

4:52 am on Jan 26, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



One site to site 301 redirect?

from subdomain.example.com to www.example.com

phranque

5:19 am on Jan 26, 2009 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



welcome to WebmasterWorld [webmasterworld.com], jpietrowiak!

what type of server are you using?

jpietrowiak

10:10 pm on Jan 26, 2009 (gmt 0)

10+ Year Member



Thanks! My server looks like a Linux CentOS.

If I use one single redirect. When a person clicks a link on another website and the link points to my webpage of "sub.website.com/page2.html" will it then redirect to the same link website.com/page2.html.

Also what if they bookmarked the links in there browser. I assume the same would apply as a normal link.

Thanks

Quadrille

12:10 am on Jan 27, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



1. Yes. Best not to combine the redirect with a restructuring. Leave that for another time.

2. Yes; the redirect would be pretty much instant if set up correctly; they'd not notice.

jpietrowiak

2:31 am on Jan 27, 2009 (gmt 0)

10+ Year Member



Here is something I found what do you think of it. Will it work for what I am trying to do? any drawbacks?

Redirect entire domain:

Redirect 301 / http://www.new-domain.com/

Note: The use of the "/" at the end of the redirected domain. This is necessary so that http://www.old-domain.com/page1.html will be redirected to http://www.new-domain.com/page1.html.

[edited by: phranque at 11:51 am (utc) on Jan. 27, 2009]
[edit reason] unlinked urls [/edit]

phranque

11:53 am on Jan 27, 2009 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



My server looks like a Linux CentOS.

CentOS is an operating system rather than a web server but i'll assume for now that you meant Apache.

Redirect 301 / http://www.new-domain.com/

that looks like it would work if you have mod_alias enabled.
have you tried it?

jpietrowiak

9:35 pm on Jan 27, 2009 (gmt 0)

10+ Year Member



Yes its apache. No have not tried it yet still trying to find out more info. Some things I read says it may hurt it as well if I redirect all the pages to the site. Not sure what to believe. My home page is PR3 and still comes up in the search results pretty well so not sure yet. Just trying to make sure what I do will not mess things up before I do anything yet.