Hi guys, I'm in the process of migrating my entire site to https from http.
I need to do this with extreme caution or I risk losing my search rank.
Google recommends 301 redirects for every page being migrated, however when
securing the app like so,

public void contributeMetaDataLocator(MappedConfiguration<String, String>
configuration) {
        configuration.add(MetaDataConstants.SECURE_PAGE, "true");
}

it appears as if the redirects are happening automatically without a 301.
Does anybody know how I can accomplish this task?

When I move pages, I generally just use something like this.

Link link = linkSource.createPageRenderLinkWithContext(Signin.class);
        return new HttpStatusCode(HttpServletResponse.SC_MOVED_PERMANENTLY,
link);

Thanks,
George

-- 
George Christman
www.CarDaddy.com
P.O. Box 735
Johnstown, New York

Reply via email to