Welcome to WebmasterWorld Guest from

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

htaccess redirect question

htaccess redirect question entire site



1:11 am on Nov 16, 2013 (gmt 0)

10+ Year Member

How do write a 301 redirect
to redirect entine site to a new domain.

I did a 301 redirect and it works for http
but the https won't redirect.

What is the code for both http and https?


2:06 am on Nov 16, 2013 (gmt 0)

WebmasterWorld Senior Member lucy24 is a WebmasterWorld Top Contributor of All Time Top Contributors Of The Month

What does your existing redirect look like? mod_alias or mod_rewrite?

Other questions: Are some pages reachable by both http and https, or are they mutually exclusive? You said htaccess, which I assume means shared hosting. Does the new domain live in the same userspace, or under the same primary domain, as the old one? That is: will it pass through the same htaccess?

Does the redirect for https pages simply not take place, or does something else happen?

Featured Threads

Hot Threads This Week

Hot Threads This Month