Forum Moderators: phranque

Message Too Old, No Replies

redirect and backlink

         

ericwm

10:15 pm on May 10, 2006 (gmt 0)



I have made redirection 3 weeks ago from site A to site B.

Site A have a lot of backlink. When I check the backlink of site B the backlinks of site A are not counted.

following the redirection that I use in the Site A .htaccess file:

RedirectMatch permanent ^/*$ siteB

do I miss something , or may I am expecting something that will never occur?

thanks

jdMorgan

1:42 am on May 11, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Your regular expression for RedirectMatch will allow it to redirect only the home page "/", or the probably-nonexistent URLs "//", "///", "////", etc. The pattern you used means "Redirect URLs containing zero or more slashes *only*."

A simpler and better solution would be to use the Redirect [httpd.apache.org] directive instead. This directive uses prefix-matching rather than regular expressions pattern matching. Assuming that your siteB is named 'www.example/com', the syntax would be:


Redirect permanent / http://www.example.com/

Now, to avoid wasting another three weeks, I'd suggest you test several URLs on siteA and make sure they redirect to siteB. It may take the major search engines several months to pass credit to your new domain, so be prepared to wait 30 to 90 days for the full effect.

Jim